@iexec/web3mail 1.4.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,15 @@ const CHAIN_CONFIG = {
23
23
  ipfsGateway: 'https://ipfs-gateway.arbitrum-sepolia-testnet.iex.ec',
24
24
  ipfsUploadUrl: 'https://ipfs-upload.arbitrum-sepolia-testnet.iex.ec',
25
25
  whitelistSmartContract: '0x8d46d40840f1Aa2264F96184Ffadf04e5D573B9B',
26
- isExperimental: true,
26
+ },
27
+ 42161: {
28
+ name: 'arbitrum-mainnet',
29
+ dappAddress: undefined, // ENS not supported on this network, address will be resolved from Compass
30
+ prodWorkerpoolAddress: '0x2C06263943180Cc024dAFfeEe15612DB6e5fD248',
31
+ dataProtectorSubgraph: 'https://thegraph.arbitrum.iex.ec/api/subgraphs/id/Ep5zs5zVr4tDiVuQJepUu51e5eWYJpka624X4DMBxe3u',
32
+ ipfsGateway: 'https://ipfs-gateway.arbitrum-mainnet.iex.ec',
33
+ ipfsUploadUrl: 'https://ipfs-upload.arbitrum-mainnet.iex.ec',
34
+ whitelistSmartContract: '0xD5054a18565c4a9E5c1aa3cEB53258bd59d4c78C',
27
35
  },
28
36
  };
29
37
  export const getChainDefaultConfig = (chainId, options) => {
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC;AAC9C,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAC7C,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC;AACpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,CAAC;AACjD,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,CAAC;AACzC,MAAM,CAAC,MAAM,iBAAiB,GAAG,4CAA4C,CAAC;AAE9E,MAAM,CAAC,MAAM,gBAAgB,GAA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4C,CAAC;AAE9E,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAapC,MAAM,YAAY,GAAgC;IAChD,GAAG,EAAE;QACH,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,yBAAyB;QACtC,qBAAqB,EAAE,wCAAwC;QAC/D,qBAAqB,EACnB,mEAAmE;QACrE,aAAa,EAAE,6CAA6C;QAC5D,WAAW,EAAE,0CAA0C;QACvD,sBAAsB,EAAE,4CAA4C;KACrE;IACD,MAAM,EAAE;QACN,IAAI,EAAE,0BAA0B;QAChC,WAAW,EAAE,SAAS,EAAE,2EAA2E;QACnG,qBAAqB,EAAE,4CAA4C;QACnE,qBAAqB,EACnB,+GAA+G;QACjH,WAAW,EAAE,sDAAsD;QACnE,aAAa,EAAE,qDAAqD;QACpE,sBAAsB,EAAE,4CAA4C;KACrE;IACD,KAAK,EAAE;QACL,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,SAAS,EAAE,2EAA2E;QACnG,qBAAqB,EAAE,4CAA4C;QACnE,qBAAqB,EACnB,gGAAgG;QAClG,WAAW,EAAE,8CAA8C;QAC3D,aAAa,EAAE,6CAA6C;QAC5D,sBAAsB,EAAE,4CAA4C;KACrE;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,OAAe,EACf,OAAiD,EAC7B,EAAE;IACtB,MAAM,MAAM,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;IAErC,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,MAAM,CAAC,cAAc,IAAI,CAAC,OAAO,EAAE,yBAAyB,EAAE,CAAC;QACjE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iexec/web3mail",
3
- "version": "1.4.0",
3
+ "version": "1.6.0",
4
4
  "description": "This product enables users to confidentially store data–such as mail address, documents, personal information ...",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",
@@ -52,12 +52,12 @@
52
52
  "buffer": "^6.0.3",
53
53
  "ethers": "^6.13.2",
54
54
  "graphql-request": "^6.1.0",
55
- "iexec": "^8.17.1",
55
+ "iexec": "^8.20.0",
56
56
  "kubo-rpc-client": "^4.1.1",
57
57
  "yup": "^1.1.1"
58
58
  },
59
59
  "devDependencies": {
60
- "@iexec/dataprotector": "^2.0.0-beta.18",
60
+ "@iexec/dataprotector": "^2.0.0-beta.19",
61
61
  "@jest/globals": "^29.7.0",
62
62
  "@swc/core": "^1.3.96",
63
63
  "@swc/jest": "^0.2.29",
@@ -38,7 +38,16 @@ const CHAIN_CONFIG: Record<number, ChainConfig> = {
38
38
  ipfsGateway: 'https://ipfs-gateway.arbitrum-sepolia-testnet.iex.ec',
39
39
  ipfsUploadUrl: 'https://ipfs-upload.arbitrum-sepolia-testnet.iex.ec',
40
40
  whitelistSmartContract: '0x8d46d40840f1Aa2264F96184Ffadf04e5D573B9B',
41
- isExperimental: true,
41
+ },
42
+ 42161: {
43
+ name: 'arbitrum-mainnet',
44
+ dappAddress: undefined, // ENS not supported on this network, address will be resolved from Compass
45
+ prodWorkerpoolAddress: '0x2C06263943180Cc024dAFfeEe15612DB6e5fD248',
46
+ dataProtectorSubgraph:
47
+ 'https://thegraph.arbitrum.iex.ec/api/subgraphs/id/Ep5zs5zVr4tDiVuQJepUu51e5eWYJpka624X4DMBxe3u',
48
+ ipfsGateway: 'https://ipfs-gateway.arbitrum-mainnet.iex.ec',
49
+ ipfsUploadUrl: 'https://ipfs-upload.arbitrum-mainnet.iex.ec',
50
+ whitelistSmartContract: '0xD5054a18565c4a9E5c1aa3cEB53258bd59d4c78C',
42
51
  },
43
52
  };
44
53