@beclab/olaresid 0.1.9 → 0.1.10
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.
- package/CLI.md +1 -1
- package/README.md +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/examples/legacy.ts +1 -1
- package/package.json +1 -1
- package/src/cli.ts +1 -1
- package/src/index.ts +1 -1
package/CLI.md
CHANGED
|
@@ -1272,7 +1272,7 @@ did-cli tag remove example.com premium
|
|
|
1272
1272
|
|
|
1273
1273
|
- RPC: `https://sepolia.optimism.io`
|
|
1274
1274
|
- DID Contract: `0xe2D7c3a9013960E04d4E9F5F9B63fff37eEd97A8`
|
|
1275
|
-
- RootResolver: `
|
|
1275
|
+
- RootResolver: `0x8eEE5E6Ba315693149c687090042D41252442e84`
|
|
1276
1276
|
- ABI Type: `0x7386fCBae6Ad4CCE1499d9153D99bc950B589718`
|
|
1277
1277
|
- RootResolver2: `0xcbC02aa08c77a374eC0D5A0403E108b7573d96e8`
|
|
1278
1278
|
- Support Service: `https://api-test.olares.com/did/support`
|
package/README.md
CHANGED
|
@@ -107,6 +107,6 @@ After testing, feel free to submit a Pull Request!
|
|
|
107
107
|
|
|
108
108
|
- **RPC:** https://sepolia.optimism.io
|
|
109
109
|
- **DID Contract:** 0xe2D7c3a9013960E04d4E9F5F9B63fff37eEd97A8
|
|
110
|
-
- **Root Resolver:**
|
|
110
|
+
- **Root Resolver:** 0x8eEE5E6Ba315693149c687090042D41252442e84
|
|
111
111
|
- **Root Resolver2:** 0xcbC02aa08c77a374eC0D5A0403E108b7573d96e8
|
|
112
112
|
- **ABI Type:** 0x7386fCBae6Ad4CCE1499d9153D99bc950B589718
|
package/dist/cli.js
CHANGED
|
@@ -47,7 +47,7 @@ const NETWORKS = {
|
|
|
47
47
|
sepolia: {
|
|
48
48
|
rpc: 'https://sepolia.optimism.io',
|
|
49
49
|
contractDid: '0xe2D7c3a9013960E04d4E9F5F9B63fff37eEd97A8',
|
|
50
|
-
contractRootResolver: '
|
|
50
|
+
contractRootResolver: '0x8eEE5E6Ba315693149c687090042D41252442e84',
|
|
51
51
|
contractAbiType: '0x7386fCBae6Ad4CCE1499d9153D99bc950B589718',
|
|
52
52
|
contractRootResolver2: '0xcbC02aa08c77a374eC0D5A0403E108b7573d96e8',
|
|
53
53
|
supportSvcUrl: 'https://api-test.olares.com/did/support'
|
package/dist/index.js
CHANGED
|
@@ -443,7 +443,7 @@ var OlaresID;
|
|
|
443
443
|
return OlaresID.createConsole('https://optimism-rpc.publicnode.com', '0x5DA4Fa8E567d86e52Ef8Da860de1be8f54cae97D', '0xE2EABA0979277A90511F8873ae1e8cA26B54E740', '0x9ae3F16bD99294Af1784beB1a0A5C84bf2636365', '0x7e7961aB771cA942CE4DB6e79579e016a33Dc95B', 'https://api.olares.com/did/support');
|
|
444
444
|
};
|
|
445
445
|
OlaresID.createTestnet = () => {
|
|
446
|
-
return OlaresID.createConsole('https://sepolia.optimism.io', '0xe2D7c3a9013960E04d4E9F5F9B63fff37eEd97A8', '
|
|
446
|
+
return OlaresID.createConsole('https://sepolia.optimism.io', '0xe2D7c3a9013960E04d4E9F5F9B63fff37eEd97A8', '0x8eEE5E6Ba315693149c687090042D41252442e84', '0x7386fCBae6Ad4CCE1499d9153D99bc950B589718', '0xcbC02aa08c77a374eC0D5A0403E108b7573d96e8', 'https://api-test.olares.com/did/support');
|
|
447
447
|
};
|
|
448
448
|
OlaresID.Domain = index_1.PackageDomain;
|
|
449
449
|
OlaresID.Tag = index_2.default;
|
package/examples/legacy.ts
CHANGED
|
@@ -3,7 +3,7 @@ import DID from '../src/index';
|
|
|
3
3
|
// op sepolia testnet environment
|
|
4
4
|
const RPC = 'https://sepolia.optimism.io';
|
|
5
5
|
const CONTRACT_DID = '0xe2D7c3a9013960E04d4E9F5F9B63fff37eEd97A8'; // DID contract address
|
|
6
|
-
const CONTRACT_ROOT_RESOLVER = '
|
|
6
|
+
const CONTRACT_ROOT_RESOLVER = '0x8eEE5E6Ba315693149c687090042D41252442e84'; // RootResolver contract address
|
|
7
7
|
const CONTRACT_ABI_TYPE = '0x7386fCBae6Ad4CCE1499d9153D99bc950B589718'; // ABIType contract address
|
|
8
8
|
|
|
9
9
|
// // op mainnet environment
|
package/package.json
CHANGED
package/src/cli.ts
CHANGED
|
@@ -30,7 +30,7 @@ const NETWORKS = {
|
|
|
30
30
|
sepolia: {
|
|
31
31
|
rpc: 'https://sepolia.optimism.io',
|
|
32
32
|
contractDid: '0xe2D7c3a9013960E04d4E9F5F9B63fff37eEd97A8',
|
|
33
|
-
contractRootResolver: '
|
|
33
|
+
contractRootResolver: '0x8eEE5E6Ba315693149c687090042D41252442e84',
|
|
34
34
|
contractAbiType: '0x7386fCBae6Ad4CCE1499d9153D99bc950B589718',
|
|
35
35
|
contractRootResolver2: '0xcbC02aa08c77a374eC0D5A0403E108b7573d96e8',
|
|
36
36
|
supportSvcUrl: 'https://api-test.olares.com/did/support'
|
package/src/index.ts
CHANGED
|
@@ -619,7 +619,7 @@ namespace OlaresID {
|
|
|
619
619
|
return createConsole(
|
|
620
620
|
'https://sepolia.optimism.io',
|
|
621
621
|
'0xe2D7c3a9013960E04d4E9F5F9B63fff37eEd97A8',
|
|
622
|
-
'
|
|
622
|
+
'0x8eEE5E6Ba315693149c687090042D41252442e84',
|
|
623
623
|
'0x7386fCBae6Ad4CCE1499d9153D99bc950B589718',
|
|
624
624
|
'0xcbC02aa08c77a374eC0D5A0403E108b7573d96e8',
|
|
625
625
|
'https://api-test.olares.com/did/support'
|