Skip to content

Commit 4b25671

Browse files
Merge pull request #19 from iExecBlockchainComputing/release/dapp-0.1.0-alpha
Release/dapp 0.2.0 alpha
2 parents 87d2ead + 294dd04 commit 4b25671

File tree

11 files changed

+47
-41
lines changed

11 files changed

+47
-41
lines changed

.drone.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -180,23 +180,18 @@ steps:
180180
- graphnode
181181

182182
- name: sms
183-
image: iexechub/iexec-sms:7.1.0
183+
image: iexechub/iexec-sms:8.7.0
184184
detach: true
185185
environment:
186-
TZ: Europe/Paris
186+
JAVA_TOOL_OPTIONS: '-Xmx256M'
187187
IEXEC_SMS_BLOCKCHAIN_NODE_ADDRESS: http://bellecour-fork:8545
188188
IEXEC_HUB_ADDRESS: '0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f'
189-
IEXEC_TEE_WORKER_PRE_COMPUTE_IMAGE: docker.io/iexechub/tee-worker-pre-compute:7.1.0-sconify-5.3.15-debug
190-
IEXEC_TEE_WORKER_PRE_COMPUTE_FINGERPRINT: 9f0f782d6edc611baa23ca0978f555ee58ea70e092640c961e75c25e9e4b0f22
191-
IEXEC_TEE_WORKER_PRE_COMPUTE_HEAP_SIZE_GB: 4
192-
IEXEC_TEE_WORKER_POST_COMPUTE_IMAGE: docker.io/iexechub/tee-worker-post-compute:7.1.1-sconify-5.3.15-debug
193-
IEXEC_TEE_WORKER_POST_COMPUTE_FINGERPRINT: face1376b97131e2dc75a556381d47a2e03bed9e1bc11e462471f99d1eefae50
194-
IEXEC_TEE_WORKER_POST_COMPUTE_HEAP_SIZE_GB: 4
195-
IEXEC_IGNORED_SGX_ADVISORIES: INTEL-SA-00161,INTEL-SA-00289,INTEL-SA-00334,INTEL-SA-00381,INTEL-SA-00389,INTEL-SA-00220,INTEL-SA-00270,INTEL-SA-00293,INTEL-SA-00320,INTEL-SA-00329,INTEL-SA-00477
196-
IEXEC_SCONE_TOLERATED_INSECURE_OPTIONS: debug-mode,hyperthreading,outdated-tcb
197-
IEXEC_SMS_DISPLAY_DEBUG_SESSION: 'true'
198-
IEXEC_SCONE_CAS_HOST: foo
199-
IEXEC_SMS_IMAGE_LAS_IMAGE: foo
189+
IEXEC_SMS_TEE_RUNTIME_FRAMEWORK: scone
190+
IEXEC_SMS_IMAGE_LAS_IMAGE: 'las-image'
191+
IEXEC_TEE_WORKER_PRE_COMPUTE_IMAGE: 'pre-compute-image'
192+
IEXEC_TEE_WORKER_PRE_COMPUTE_FINGERPRINT: 'pre-compute-fingerprint'
193+
IEXEC_TEE_WORKER_POST_COMPUTE_IMAGE: 'post-compute-image'
194+
IEXEC_TEE_WORKER_POST_COMPUTE_FINGERPRINT: 'post-compute-fingerprint'
200195
expose:
201196
- 13300
202197
depends_on:
@@ -768,7 +763,7 @@ steps:
768763

769764
- name: get scone fingerprint (prod)
770765
# /!\: maintain the version here
771-
image: iexechub/web3telegram-dapp:0.0.1-alpha-sconify-5.7.6-v15-production
766+
image: iexechub/web3telegram-dapp:0.0.2-alpha-sconify-5.7.6-v15-production
772767
commands:
773768
- SCONE_HASH=1 node > deployment-dapp/.scone-fingerprint
774769
when:

dapp/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.0.2-alpha] - 2025-03-10
6+
7+
### Changed
8+
9+
- Renamed `chatId` field to `telegram_chatId` in protected data parsing.
10+
511
## [0.0.1-alpha] Initial release

dapp/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dapp",
3-
"version": "0.0.1-alpha",
3+
"version": "0.0.2-alpha",
44
"description": "",
55
"main": "index.js",
66
"engines": {

dapp/src/executeTask.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ async function start() {
5656
try {
5757
const deserializer = new IExecDataProtectorDeserializer();
5858
protectedData = {
59-
chatId: await deserializer.getValue('chatId', 'string'),
59+
chatId: await deserializer.getValue('telegram_chatId', 'string'),
6060
};
6161
} catch (e) {
6262
throw Error(`Failed to parse ProtectedData: ${e.message}`);
100 Bytes
Binary file not shown.

examples/browser-parcel/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@
1414
"license": "ISC",
1515
"devDependencies": {
1616
"buffer": "^5.7.1",
17-
"parcel": "^2.8.3"
17+
"crypto-browserify": "^3.12.1",
18+
"events": "^3.3.0",
19+
"parcel": "^2.8.3",
20+
"process": "^0.11.10",
21+
"stream-browserify": "^3.0.0",
22+
"string_decoder": "^1.3.0",
23+
"vm-browserify": "^1.1.2"
1824
},
1925
"@parcel/resolver-default": {
2026
"packageExports": true

examples/create-react-app-ts/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import './App.css';
2-
import { test } from './web3telegram.js';
2+
import { test } from './web3telegram';
33

44
function App() {
55
return (

package-lock.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iexec/web3telegram",
3-
"version": "0.0.1-alpha",
3+
"version": "0.0.2-alpha",
44
"description": "Enables secure, blockchain-based messaging by encrypting Telegram user IDs for privacy. It lets users message Ethereum account holders without knowing their Telegram details.",
55
"main": "./dist/index.js",
66
"type": "module",
@@ -52,7 +52,7 @@
5252
"buffer": "^6.0.3",
5353
"ethers": "^6.8.1",
5454
"graphql-request": "^6.1.0",
55-
"iexec": "^8.13.0",
55+
"iexec": "^8.13.1",
5656
"kubo-rpc-client": "^3.0.1",
5757
"yup": "^1.1.1"
5858
},

0 commit comments

Comments
 (0)