Skip to content

Commit

Permalink
refactor: updated package.json and contract address
Browse files Browse the repository at this point in the history
Signed-off-by: tipusinghaw <[email protected]>
  • Loading branch information
tipusinghaw committed May 7, 2024
1 parent 79b06f4 commit 522592f
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 30 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"dependencies": {
"@credo-ts/askar": "0.5.1",
"@credo-ts/core": "0.5.1",
"@ayanworks/polygon-did-registrar": "0.0.16-alpha.16",
"@ayanworks/polygon-did-resolver": "0.0.16-alpha.11",
"@ayanworks/polygon-schema-manager": "0.0.2-alpha.6",
"@ayanworks/polygon-did-registrar": "0.0.16-alpha.17",
"@ayanworks/polygon-did-resolver": "0.0.16-alpha.13",
"@ayanworks/polygon-schema-manager": "0.0.2-alpha.7",
"did-resolver": "^4.1.0",
"ethers": "^6.9.0"
},
Expand Down
4 changes: 2 additions & 2 deletions tests/polygon-did.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ describe('Polygon Module did resolver', () => {
// Add required modules
polygon: new PolygonModule({
rpcUrl: 'https://rpc-amoy.polygon.technology',
didContractAddress: '0x12513116875BB3E4F098Ce74624739Ee51bAf023',
didContractAddress: '0xC1c392DC1073a86821B4ae37f1F0faCDcFFf45bF',
fileServerToken:
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJBeWFuV29ya3MiLCJpZCI6IjdmYjRmN2I3LWQ5ZWUtNDYxOC04OTE4LWZiMmIzYzY1M2EyYiJ9.x-kHeTVqX4w19ibSAspCYgIL-JFVss8yZ0CT21QVRYM',
schemaManagerContractAddress: '0x67e8223D80aEcb337FE8D90dD41845A0DA31B4b0',
schemaManagerContractAddress: '0x289c7Bd4C7d38cC54bff370d6f9f01b74Df51b11',
serverUrl: 'https://51e1-103-97-166-226.ngrok-free.app',
}),
dids: new DidsModule({
Expand Down
4 changes: 2 additions & 2 deletions tests/polygon-schema.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ describe('Polygon Module did resolver', () => {
// Add required modules
polygon: new PolygonModule({
rpcUrl: 'https://rpc-amoy.polygon.technology',
didContractAddress: '0x12513116875BB3E4F098Ce74624739Ee51bAf023',
didContractAddress: '0xC1c392DC1073a86821B4ae37f1F0faCDcFFf45bF',
fileServerToken:
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJBeWFuV29ya3MiLCJpZCI6IjdmYjRmN2I3LWQ5ZWUtNDYxOC04OTE4LWZiMmIzYzY1M2EyYiJ9.x-kHeTVqX4w19ibSAspCYgIL-JFVss8yZ0CT21QVRYM',
schemaManagerContractAddress: '0x67e8223D80aEcb337FE8D90dD41845A0DA31B4b0',
schemaManagerContractAddress: '0x289c7Bd4C7d38cC54bff370d6f9f01b74Df51b11',
serverUrl: 'https://51e1-103-97-166-226.ngrok-free.app',
}),
dids: new DidsModule({
Expand Down
4 changes: 2 additions & 2 deletions tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ export function getAgentConfig(
const { config, dependencies } = getAgentOptions(name, extraConfig, {
polygon: new PolygonModule({
rpcUrl: 'https://rpc-amoy.polygon.technology',
didContractAddress: '0x12513116875BB3E4F098Ce74624739Ee51bAf023',
didContractAddress: '0xC1c392DC1073a86821B4ae37f1F0faCDcFFf45bF',
fileServerToken:
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJBeWFuV29ya3MiLCJpZCI6IjdmYjRmN2I3LWQ5ZWUtNDYxOC04OTE4LWZiMmIzYzY1M2EyYiJ9.x-kHeTVqX4w19ibSAspCYgIL-JFVss8yZ0CT21QVRYM',
schemaManagerContractAddress: '0x67e8223D80aEcb337FE8D90dD41845A0DA31B4b0',
schemaManagerContractAddress: '0x289c7Bd4C7d38cC54bff370d6f9f01b74Df51b11',
serverUrl: 'https://51e1-103-97-166-226.ngrok-free.app',
}),
dids: new DidsModule({
Expand Down
42 changes: 21 additions & 21 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
dependencies:
static-eval "2.0.2"

"@ayanworks/[email protected].16":
version "0.0.16-alpha.16"
resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registrar/-/polygon-did-registrar-0.0.16-alpha.16.tgz#8467412a8138ffb8b2305bf4ea7914a4ce979267"
integrity sha512-q3Y1bzeHmCAxRpbA6rXKaO9CQhLjlP4aMZuJxYiiicPlQ6plkRt+Icxdp1ozsCEcMouj3l4E5kgzjK48bhOxrw==
"@ayanworks/[email protected].17":
version "0.0.16-alpha.17"
resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registrar/-/polygon-did-registrar-0.0.16-alpha.17.tgz#f2ff10616f1ca302230dad6105fbabd0f1f7aa88"
integrity sha512-qYZdcW5aNy/3/tIbWAYY/1dWVcsR/OwVH3wQfFRM9d46fPtfPI8N5iyYmEuYkwHjvud2L204rWWgsaEdhn7NvA==
dependencies:
"@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.3"
"@ayanworks/polygon-did-resolver" "^0.0.16-alpha.11"
"@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4"
"@ayanworks/polygon-did-resolver" "^0.0.16-alpha.13"
"@credo-ts/core" "0.5.1"
"@ethersproject/basex" "^5.7.0"
"@ethersproject/signing-key" "^5.7.0"
Expand All @@ -65,27 +65,27 @@
ethers "^6.9.0"
uuid "^9.0.1"

"@ayanworks/[email protected].3":
version "2.0.1-alpha.3"
resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registry-contract/-/polygon-did-registry-contract-2.0.1-alpha.3.tgz#7bb932b712a4c48df857682f27adfb08154c4358"
integrity sha512-8FZZVAmzXZn0pjZasuxdRblL0obK91JoaoXzpM4oZ7hD5VRUbiWf7BTh17WsWc6Oaf6XtafT4csuBo11fZiUoQ==
"@ayanworks/[email protected].4":
version "2.0.1-alpha.4"
resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registry-contract/-/polygon-did-registry-contract-2.0.1-alpha.4.tgz#5691d61f322959201813fe7ff2bd2234c8e7af72"
integrity sha512-a35EtcPyLyKjq0y0uqi7uHXPeoMMSoC2oai88xY2PlLV9avQwyCIOaVsIKcuKdJaPWPmFQaeU5S7iY/pfVguWQ==

"@ayanworks/[email protected].11", "@ayanworks/polygon-did-resolver@^0.0.16-alpha.11":
version "0.0.16-alpha.11"
resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.11.tgz#fe115f9a63eea5e0604712549e9c573dcef7d55c"
integrity sha512-rQ6iVz0uht/hLkYA29E2iHN7xW0EusG6ognndBJF0QUxuPBB2kbmcr/4kW1E1m8FJLPvmEX/ed5v0pbBnGSJwA==
"@ayanworks/[email protected].13", "@ayanworks/polygon-did-resolver@^0.0.16-alpha.13":
version "0.0.16-alpha.13"
resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.13.tgz#24a0e0c674dde0d64fa5f4767c5368f791abbab3"
integrity sha512-8SRDPQpX/AU1xfmH2O7DzqeDtPdE1FA3z7ONp/v1xvP1h00GU2nKie4jeWHipCVfJOInEmiJbl0FIKFcviERsA==
dependencies:
"@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.3"
"@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4"
did-resolver "^4.1.0"
ethers "^5.1.0"

"@ayanworks/[email protected].6":
version "0.0.2-alpha.6"
resolved "https://registry.yarnpkg.com/@ayanworks/polygon-schema-manager/-/polygon-schema-manager-0.0.2-alpha.6.tgz#a872afc1166e39561dba63f0ba83f898376bb874"
integrity sha512-H8W0eS//Q3eDCiwtEqfqPhGW3bRLWOkJU1EYOuiwZGaIuZb4kWbYqAGdgl0s5g0ZP1rjirk4Ztx1w10cWqsZWw==
"@ayanworks/[email protected].7":
version "0.0.2-alpha.7"
resolved "https://registry.yarnpkg.com/@ayanworks/polygon-schema-manager/-/polygon-schema-manager-0.0.2-alpha.7.tgz#79b975e7f6524d86030b4a38453ea5c33079882a"
integrity sha512-XKHgvh7IT0pUuypeoPuf2pcSUlvpezjDTLie4ayncPWb1FI5drS6RvtiiHvZ2HTVQU7/PBldM6lCNLt4kvnV6A==
dependencies:
"@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.3"
"@ayanworks/polygon-did-resolver" "^0.0.16-alpha.11"
"@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4"
"@ayanworks/polygon-did-resolver" "^0.0.16-alpha.13"
"@nomicfoundation/hardhat-verify" "^2.0.3"
axios "^1.6.3"
did-resolver "^4.1.0"
Expand Down

0 comments on commit 522592f

Please sign in to comment.