diff --git a/package.json b/package.json index fa8d7372..3c763d7c 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,12 @@ "dependencies": { "@erc725/erc725.js": "0.22.0", "@lukso/lsp-factory.js": "3.2.1", - "@lukso/lsp-smart-contracts": "0.14.0", + "@lukso/lsp0-contracts": "^0.15.0-rc.1", + "@lukso/lsp3-contracts": "^0.15.0-rc.1", + "@lukso/lsp6-contracts": "^0.15.0-rc.1", + "@lukso/lsp7-contracts": "^0.15.0-rc.1", + "@lukso/lsp8-contracts": "^0.15.0-rc.1", + "@lukso/lsp9-contracts": "^0.15.0-rc.1", "@lukso/web3-onboard-config": "1.1.2", "@pinata/sdk": "^2.1.0", "@tsndr/cloudflare-worker-jwt": "^2.5.3", @@ -49,7 +54,7 @@ }, "devDependencies": { "@depay/web3-mock": "^14.17.0", - "@testing-library/jest-dom": "5.17.0", + "@testing-library/jest-dom": "6.4.2", "@testing-library/user-event": "14.4.3", "@testing-library/vue": "7.0.0", "@types/jest": "28.1.8", diff --git a/src/components/endpoints/Assets.vue b/src/components/endpoints/Assets.vue index 5895de71..395aebab 100644 --- a/src/components/endpoints/Assets.vue +++ b/src/components/endpoints/Assets.vue @@ -11,7 +11,7 @@ import CustomSelect from '@/components/shared/CustomSelect.vue' import { useLspFactory } from '@/compositions/useLspFactory' import { addTokenToLocalStore, recalculateAssets } from '@/helpers/tokenUtils' import { useERC20 } from '@/compositions/useErc20' -import { LSP8_TOKEN_ID_FORMAT } from '@lukso/lsp-smart-contracts' +import { LSP8_TOKEN_ID_FORMAT } from '@lukso/lsp8-contracts' const { notification, clearNotification, hasNotification, setNotification } = useNotifications() diff --git a/src/components/endpoints/Mint.vue b/src/components/endpoints/Mint.vue index 2ea6c17d..5f9b3271 100644 --- a/src/components/endpoints/Mint.vue +++ b/src/components/endpoints/Mint.vue @@ -3,8 +3,8 @@ import { getState } from '@/stores' import { onMounted, ref, watchEffect } from 'vue' import { Contract } from 'web3-eth-contract' import useNotifications from '@/compositions/useNotifications' -import LSP7Mintable from '@lukso/lsp-smart-contracts/artifacts/LSP7Mintable.json' -import LSP8Mintable from '@lukso/lsp-smart-contracts/artifacts/LSP8Mintable.json' +import LSP7Mintable from '@lukso/lsp7-contracts/artifacts/LSP7Mintable.json' +import LSP8Mintable from '@lukso/lsp8-contracts/artifacts/LSP8Mintable.json' import Notifications from '@/components/Notification.vue' import { toWei } from 'web3-utils' import { ERC725, ERC725JSONSchema } from '@erc725/erc725.js' @@ -27,7 +27,7 @@ import useErc725 from '@/compositions/useErc725' import LSP8IdentifiableDigitalAsset from '@erc725/erc725.js/schemas/LSP8IdentifiableDigitalAsset.json' import { isHex } from 'web3-utils' import { isAddress } from 'ethers/lib/utils' -import { LSP8_TOKEN_ID_FORMAT } from '@lukso/lsp-smart-contracts' +import { LSP8_TOKEN_ID_FORMAT } from '@lukso/lsp8-contracts' import { uploadAssetData } from '@/utils/uploadAssetData' const { notification, clearNotification, hasNotification, setNotification } = diff --git a/src/components/endpoints/Permissions.vue b/src/components/endpoints/Permissions.vue index 8f59f142..1677a7d0 100644 --- a/src/components/endpoints/Permissions.vue +++ b/src/components/endpoints/Permissions.vue @@ -3,11 +3,11 @@ import { getState } from '@/stores' import Notifications from '@/components/Notification.vue' import useNotifications from '@/compositions/useNotifications' import { - ERC725YDataKeys, + LSP6DataKeys, ALL_PERMISSIONS, PERMISSIONS, // @ts-ignore -} from '@lukso/lsp-smart-contracts' +} from '@lukso/lsp6-contracts' import { Permissions } from '@erc725/erc725.js/build/main/src/types/Method' import { computed, ref } from 'vue' @@ -60,7 +60,7 @@ const setPermissions = async () => { const erc725AccountAddress = getState('address') const key = - ERC725YDataKeys['LSP6']['AddressPermissions:Permissions'] + + LSP6DataKeys['AddressPermissions:Permissions'] + grantPermissionAddress.value.slice(2) const value = encodePermissions(selectedPermissions.value) diff --git a/src/components/endpoints/Transfer.vue b/src/components/endpoints/Transfer.vue index dba51786..09b62f6d 100644 --- a/src/components/endpoints/Transfer.vue +++ b/src/components/endpoints/Transfer.vue @@ -3,8 +3,8 @@ import { getState } from '@/stores' import { ref } from 'vue' import { Contract } from 'web3-eth-contract' import useNotifications from '@/compositions/useNotifications' -import LSP7Mintable from '@lukso/lsp-smart-contracts/artifacts/LSP7Mintable.json' -import LSP8Mintable from '@lukso/lsp-smart-contracts/artifacts/LSP8Mintable.json' +import LSP7Mintable from '@lukso/lsp7-contracts/artifacts/LSP7Mintable.json' +import LSP8Mintable from '@lukso/lsp8-contracts/artifacts/LSP8Mintable.json' import Notifications from '@/components/Notification.vue' import { toWei } from 'web3-utils' import { ContractStandard } from '@/enums' diff --git a/src/helpers/tokenUtils.ts b/src/helpers/tokenUtils.ts index 016b6bd5..0a171921 100644 --- a/src/helpers/tokenUtils.ts +++ b/src/helpers/tokenUtils.ts @@ -1,6 +1,9 @@ import BN from 'bn.js' import ERC725, { ERC725JSONSchema } from '@erc725/erc725.js' -import { INTERFACE_IDS } from '@lukso/lsp-smart-contracts' +import { INTERFACE_ID_LSP0 } from '@lukso/lsp0-contracts' +import { INTERFACE_ID_LSP7 } from '@lukso/lsp7-contracts' +import { INTERFACE_ID_LSP8, LSP8_TOKEN_ID_FORMAT } from '@lukso/lsp8-contracts' +import { INTERFACE_ID_LSP9 } from '@lukso/lsp9-contracts' import LSP3ProfileMetadata from '@erc725/erc725.js/schemas/LSP3ProfileMetadata.json' import LSP4DigitalAsset from '@erc725/erc725.js/schemas/LSP4DigitalAsset.json' import LSP9Vault from '@erc725/erc725.js/schemas/LSP9Vault.json' @@ -11,7 +14,6 @@ import { store, setState } from '@/stores/index' import { getSelectedNetworkConfig } from '@/helpers/config' import useWeb3Connection from '@/compositions/useWeb3Connection' import { rightPad, fromUtf8, isHex, leftPad, toNumber } from 'web3-utils' -import { LSP8_TOKEN_ID_FORMAT } from '@lukso/lsp-smart-contracts' import { LSP4MetadataUrlForEncoding } from '@lukso/lsp-factory.js/build/main/src/lib/interfaces/lsp4-digital-asset' const { lsp7TokenDivisible, lsp7TokenNonDivisible } = getSelectedNetworkConfig() @@ -57,26 +59,26 @@ export const lspTypeOptions: Record< Exclude, LspTypeOption > = { - [LSPType.LSP3ProfileMetadata]: { - interfaceId: INTERFACE_IDS.LSP0ERC725Account, + [LSPType.LSP3UniversalProfileMetadata]: { + interfaceId: INTERFACE_ID_LSP0, lsp2Schema: getSupportedStandardObject( LSP3ProfileMetadata as ERC725JSONSchema[] ), }, [LSPType.LSP7DigitalAsset]: { - interfaceId: INTERFACE_IDS.LSP7DigitalAsset, + interfaceId: INTERFACE_ID_LSP7, lsp2Schema: getSupportedStandardObject( LSP4DigitalAsset as ERC725JSONSchema[] ), }, [LSPType.LSP8IdentifiableDigitalAsset]: { - interfaceId: INTERFACE_IDS.LSP8IdentifiableDigitalAsset, + interfaceId: INTERFACE_ID_LSP8, lsp2Schema: getSupportedStandardObject( LSP4DigitalAsset as ERC725JSONSchema[] ), }, [LSPType.LSP9Vault]: { - interfaceId: INTERFACE_IDS.LSP9Vault, + interfaceId: INTERFACE_ID_LSP9, lsp2Schema: getSupportedStandardObject(LSP9Vault as ERC725JSONSchema[]), }, [LSPType.EoA]: { diff --git a/src/stores/index.ts b/src/stores/index.ts index 5e4dbde9..ad21391e 100644 --- a/src/stores/index.ts +++ b/src/stores/index.ts @@ -1,8 +1,8 @@ import { reactive } from 'vue' import { Store, Channel } from '@/types' import { MEANS_OF_CONNECTION } from '@/helpers/config' -import UniversalProfile from '@lukso/lsp-smart-contracts/artifacts/UniversalProfile.json' -import KeyManager from '@lukso/lsp-smart-contracts/artifacts/LSP6KeyManager.json' +import LSP0ERC725Account from '@lukso/lsp0-contracts/artifacts/LSP0ERC725Account.json' +import KeyManager from '@lukso/lsp6-contracts/artifacts/LSP6KeyManager.json' import { recalculateAssets } from '@/helpers/tokenUtils' import useWeb3Connection from '@/compositions/useWeb3Connection' @@ -42,7 +42,7 @@ export function useState() { localStorage.setItem(MEANS_OF_CONNECTION, channel) - window.erc725Account = contract(UniversalProfile.abi as any, address) + window.erc725Account = contract(LSP0ERC725Account.abi as any, address) try { const upOwner = await window.erc725Account.methods.owner().call() diff --git a/src/views/profile/Deploy.vue b/src/views/profile/Deploy.vue index 0d043054..0d90f79e 100644 --- a/src/views/profile/Deploy.vue +++ b/src/views/profile/Deploy.vue @@ -15,7 +15,7 @@ import { DeploymentType, } from '@lukso/lsp-factory.js' import { getAndPrepareAllIpfsItems } from '@/helpers/localstorage' -import { LSP3ProfileMetadataJSON } from '@lukso/lsp-smart-contracts' +import { LSP3ProfileMetadataJSON } from '@lukso/lsp3-contracts' const { notification, clearNotification, hasNotification, setNotification } = useNotifications() diff --git a/yarn.lock b/yarn.lock index 57ce8747..9f1d6af1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,10 +19,10 @@ __metadata: languageName: node linkType: hard -"@adobe/css-tools@npm:^4.0.1": - version: 4.2.0 - resolution: "@adobe/css-tools@npm:4.2.0" - checksum: dc5cc92ba3d562e7ffddb79d6d222c7e00b65f255fd2725b3d71490ff268844be322f917415d8c4ab39eca646343b632058db8bd5b1d646193fcc94d1d3e420b +"@adobe/css-tools@npm:^4.3.2": + version: 4.3.3 + resolution: "@adobe/css-tools@npm:4.3.3" + checksum: d21f3786b84911fee59c995a146644a85c98692979097b26484ffa9e442fb1a92ccd68ce984e3e7cf8d5933c3560fbc0ad3e3cd1de50b9a723d1c012e793bbcb languageName: node linkType: hard @@ -1949,15 +1949,6 @@ __metadata: languageName: node linkType: hard -"@jest/expect-utils@npm:^29.6.2": - version: 29.6.2 - resolution: "@jest/expect-utils@npm:29.6.2" - dependencies: - jest-get-type: ^29.4.3 - checksum: 0decf2009aa3735f9df469e78ce1721c2815e4278439887e0cf0321ca8979541a22515d114a59b2445a6cd70a074b09dc9c00b5e7b3b3feac5174b9c4a78b2e1 - languageName: node - linkType: hard - "@jest/expect@npm:^28.1.3": version: 28.1.3 resolution: "@jest/expect@npm:28.1.3" @@ -2040,15 +2031,6 @@ __metadata: languageName: node linkType: hard -"@jest/schemas@npm:^29.6.0": - version: 29.6.0 - resolution: "@jest/schemas@npm:29.6.0" - dependencies: - "@sinclair/typebox": ^0.27.8 - checksum: c00511c69cf89138a7d974404d3a5060af375b5a52b9c87215d91873129b382ca11c1ff25bd6d605951404bb381ddce5f8091004a61e76457da35db1f5c51365 - languageName: node - linkType: hard - "@jest/source-map@npm:^28.1.2": version: 28.1.2 resolution: "@jest/source-map@npm:28.1.2" @@ -2121,20 +2103,6 @@ __metadata: languageName: node linkType: hard -"@jest/types@npm:^29.6.1": - version: 29.6.1 - resolution: "@jest/types@npm:29.6.1" - dependencies: - "@jest/schemas": ^29.6.0 - "@types/istanbul-lib-coverage": ^2.0.0 - "@types/istanbul-reports": ^3.0.0 - "@types/node": "*" - "@types/yargs": ^17.0.8 - chalk: ^4.0.0 - checksum: 89fc1ccf71a84fe0da643e0675b1cfe6a6f19ea72e935b2ab1dbdb56ec547e94433fb59b3536d3832a6e156c077865b7176fe9dae707dab9c3d2f9405ba6233c - languageName: node - linkType: hard - "@jridgewell/gen-mapping@npm:^0.3.0, @jridgewell/gen-mapping@npm:^0.3.2": version: 0.3.3 resolution: "@jridgewell/gen-mapping@npm:0.3.3" @@ -2256,19 +2224,6 @@ __metadata: languageName: node linkType: hard -"@lukso/lsp-smart-contracts@npm:0.14.0": - version: 0.14.0 - resolution: "@lukso/lsp-smart-contracts@npm:0.14.0" - dependencies: - "@account-abstraction/contracts": ^0.6.0 - "@erc725/smart-contracts": ^7.0.0 - "@openzeppelin/contracts": ^4.9.2 - "@openzeppelin/contracts-upgradeable": ^4.9.2 - solidity-bytes-utils: 0.8.0 - checksum: 095cbc9f7f2ffaff6a2c05616c266731af735b485eb552b8e557b27e7aad39c80a770946ce6d4379fc51e1d434ef99628d7d4cf794dc6b5ab545ef6b62ca664e - languageName: node - linkType: hard - "@lukso/lsp-smart-contracts@npm:^0.12.0": version: 0.12.0 resolution: "@lukso/lsp-smart-contracts@npm:0.12.0" @@ -2282,6 +2237,150 @@ __metadata: languageName: node linkType: hard +"@lukso/lsp0-contracts@npm:^0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp0-contracts@npm:0.15.0-rc.1" + dependencies: + "@erc725/smart-contracts": ^7.0.0 + "@lukso/lsp1-contracts": ~0.15.0-rc.1 + "@lukso/lsp14-contracts": ~0.15.0-rc.1 + "@lukso/lsp17contractextension-contracts": ~0.15.0-rc.1 + "@lukso/lsp2-contracts": ~0.15.0-rc.1 + "@lukso/lsp20-contracts": ~0.15.0-rc.1 + "@openzeppelin/contracts": ^4.9.3 + checksum: 5202f39cf5e5f37290892a12b51d04d6daeaab8ec467055bcbe055ed709422d63a57d82b244375e75624d18093432ca299d2d3e5f6201385dab5a3070c8e76e2 + languageName: node + linkType: hard + +"@lukso/lsp1-contracts@npm:~0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp1-contracts@npm:0.15.0-rc.1" + dependencies: + "@lukso/lsp2-contracts": ~0.15.0-rc.1 + "@openzeppelin/contracts": ^4.9.3 + checksum: 1006d77aff4e2e1621e0026af4bc9a885f76b3fc9712429fea89692e14882ca5c6a1abedb7c9ac4ae485c4d58092772ae1e7afd6472a1f969511643f0c0eea49 + languageName: node + linkType: hard + +"@lukso/lsp14-contracts@npm:~0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp14-contracts@npm:0.15.0-rc.1" + dependencies: + "@erc725/smart-contracts": ^7.0.0 + "@lukso/lsp1-contracts": ~0.15.0-rc.1 + checksum: b1d9210a66f2c37032d5019e05ccc8eef34a624f508c7df71dceb7934bab0b96091e05569323c8f6ad01eafffd8efe379ae29d0e3102432f05fac9328bfde050 + languageName: node + linkType: hard + +"@lukso/lsp17contractextension-contracts@npm:~0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp17contractextension-contracts@npm:0.15.0-rc.1" + dependencies: + "@erc725/smart-contracts": ^7.0.0 + "@openzeppelin/contracts": ^4.9.3 + checksum: fafd420f53b36d3248a12cd2ae9905f5b4a53a5c8fc0d0b17cddf9144ac326754e33fc927e86745e32fcb00069b67f5fc3c8f824305bd578e3099e6601d121be + languageName: node + linkType: hard + +"@lukso/lsp2-contracts@npm:~0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp2-contracts@npm:0.15.0-rc.1" + dependencies: + "@erc725/smart-contracts": ^7.0.0 + "@openzeppelin/contracts": ^4.9.3 + checksum: 1c3750e8adfab33c93737c6db22a014898d8afebd78c205c49ac3726e5db27494ea5dec62ab3b27c17745218962c5bd620b2a70aaa8e192e8fda7418015e2d27 + languageName: node + linkType: hard + +"@lukso/lsp20-contracts@npm:~0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp20-contracts@npm:0.15.0-rc.1" + checksum: b1d246d0d0ed4844488ca1c975cd995ce23e88e599373892c4288474d27808acba47f70300598cc3bad4db5b34fa1de99f657f9e87a5c8acacb219960fcc62d6 + languageName: node + linkType: hard + +"@lukso/lsp25-contracts@npm:~0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp25-contracts@npm:0.15.0-rc.1" + dependencies: + "@openzeppelin/contracts": ^4.9.3 + checksum: 6c91b9c8b54a7b37669901cce72953a52a67b75ed8117a332f2a2dfa3a04ea7b8a91339df79545a8f19335c9072b7017f4390db968b440319016b2a6b26be85d + languageName: node + linkType: hard + +"@lukso/lsp3-contracts@npm:^0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp3-contracts@npm:0.15.0-rc.1" + dependencies: + "@lukso/lsp2-contracts": ~0.15.0-rc.1 + checksum: df248334bcd9d8ed1bf5ca6b8211ed18544d8be45ed0569eb1e5118d26b06fc63c61e657df6de13d523f0b1dfc3f0abc8fc718f83084c24c05b6ea3bccf2cff3 + languageName: node + linkType: hard + +"@lukso/lsp4-contracts@npm:~0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp4-contracts@npm:0.15.0-rc.1" + dependencies: + "@erc725/smart-contracts": ^7.0.0 + "@lukso/lsp2-contracts": ~0.15.0-rc.1 + checksum: b09aaad36f4ef291aff0237c3288aacdd675ac7afb4d921417426be47af5f85f1a19a78c9fa943d19b31ee2d434cb13bd1d228ea381a2c20570feffbfc0c787d + languageName: node + linkType: hard + +"@lukso/lsp6-contracts@npm:^0.15.0-rc.1, @lukso/lsp6-contracts@npm:~0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp6-contracts@npm:0.15.0-rc.1" + dependencies: + "@erc725/smart-contracts": ^7.0.0 + "@lukso/lsp1-contracts": ~0.15.0-rc.1 + "@lukso/lsp14-contracts": ~0.15.0-rc.1 + "@lukso/lsp17contractextension-contracts": ~0.15.0-rc.1 + "@lukso/lsp2-contracts": ~0.15.0-rc.1 + "@lukso/lsp20-contracts": ~0.15.0-rc.1 + "@lukso/lsp25-contracts": ~0.15.0-rc.1 + "@openzeppelin/contracts": ^4.9.3 + checksum: 3d7e079799539dbbf121acbfe482f896e52647f093a0f4f72578984671fe9cd59bfacc826594e1bd8411c8ca94c94bfe18a1ef5946c4c55f008670eac3bf962b + languageName: node + linkType: hard + +"@lukso/lsp7-contracts@npm:^0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp7-contracts@npm:0.15.0-rc.1" + dependencies: + "@erc725/smart-contracts": ^7.0.0 + "@lukso/lsp1-contracts": ~0.15.0-rc.1 + "@lukso/lsp17contractextension-contracts": ~0.15.0-rc.1 + "@openzeppelin/contracts": ^4.9.3 + checksum: 70ab8e9db003406c9c806f8375019e211b3468da53385d9f1bdd836d30395165cf0267a30ab6a5fbb6156ee2e1de9f91a73401445f78944877715748376f5ead + languageName: node + linkType: hard + +"@lukso/lsp8-contracts@npm:^0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp8-contracts@npm:0.15.0-rc.1" + dependencies: + "@erc725/smart-contracts": ^7.0.0 + "@lukso/lsp1-contracts": ~0.15.0-rc.1 + "@lukso/lsp17contractextension-contracts": ~0.15.0-rc.1 + "@lukso/lsp2-contracts": ~0.15.0-rc.1 + "@lukso/lsp4-contracts": ~0.15.0-rc.1 + "@openzeppelin/contracts": ^4.9.3 + checksum: d4033b0d6835218d1d6c82f025c6290a3b4fffa5a8cc4013b40aeecb5241351d6954f28291494650094821ec7fe0a0edd42be277a8a83083945d40eed4e0c2c4 + languageName: node + linkType: hard + +"@lukso/lsp9-contracts@npm:^0.15.0-rc.1": + version: 0.15.0-rc.1 + resolution: "@lukso/lsp9-contracts@npm:0.15.0-rc.1" + dependencies: + "@erc725/smart-contracts": ^7.0.0 + "@lukso/lsp1-contracts": ~0.15.0-rc.1 + "@lukso/lsp6-contracts": ~0.15.0-rc.1 + "@openzeppelin/contracts": ^4.9.3 + checksum: 33b5e9660fb26aa8f543484b05b2ddce185984fdd527a5abac79093cbfca918301bcc5e0bec45433d905707c0746db35e19e4c2b706a84f2d72b07f4016aaa2e + languageName: node + linkType: hard + "@lukso/web3-onboard-config@npm:1.1.2": version: 1.1.2 resolution: "@lukso/web3-onboard-config@npm:1.1.2" @@ -2728,13 +2827,6 @@ __metadata: languageName: node linkType: hard -"@sinclair/typebox@npm:^0.27.8": - version: 0.27.8 - resolution: "@sinclair/typebox@npm:0.27.8" - checksum: 00bd7362a3439021aa1ea51b0e0d0a0e8ca1351a3d54c606b115fdcc49b51b16db6e5f43b4fe7a28c38688523e22a94d49dd31168868b655f0d4d50f032d07a1 - languageName: node - linkType: hard - "@sindresorhus/is@npm:^4.0.0, @sindresorhus/is@npm:^4.6.0": version: 4.6.0 resolution: "@sindresorhus/is@npm:4.6.0" @@ -3060,20 +3152,36 @@ __metadata: languageName: node linkType: hard -"@testing-library/jest-dom@npm:5.17.0": - version: 5.17.0 - resolution: "@testing-library/jest-dom@npm:5.17.0" +"@testing-library/jest-dom@npm:6.4.2": + version: 6.4.2 + resolution: "@testing-library/jest-dom@npm:6.4.2" dependencies: - "@adobe/css-tools": ^4.0.1 + "@adobe/css-tools": ^4.3.2 "@babel/runtime": ^7.9.2 - "@types/testing-library__jest-dom": ^5.9.1 aria-query: ^5.0.0 chalk: ^3.0.0 css.escape: ^1.5.1 - dom-accessibility-api: ^0.5.6 + dom-accessibility-api: ^0.6.3 lodash: ^4.17.15 redent: ^3.0.0 - checksum: 9f28dbca8b50d7c306aae40c3aa8e06f0e115f740360004bd87d57f95acf7ab4b4f4122a7399a76dbf2bdaaafb15c99cc137fdcb0ae457a92e2de0f3fbf9b03b + peerDependencies: + "@jest/globals": ">= 28" + "@types/bun": "*" + "@types/jest": ">= 28" + jest: ">= 28" + vitest: ">= 0.32" + peerDependenciesMeta: + "@jest/globals": + optional: true + "@types/bun": + optional: true + "@types/jest": + optional: true + jest: + optional: true + vitest: + optional: true + checksum: 631aeadbf4e738080ae095242cf1a29a0b4ee2f09c8bdd0d3f00a923707da64c1617e088ba9a961d098481afabdc1d19149fb7ef98edf15132348eb222f345ae languageName: node linkType: hard @@ -3298,16 +3406,6 @@ __metadata: languageName: node linkType: hard -"@types/jest@npm:*": - version: 29.5.3 - resolution: "@types/jest@npm:29.5.3" - dependencies: - expect: ^29.0.0 - pretty-format: ^29.0.0 - checksum: e36bb92e0b9e5ea7d6f8832baa42f087fc1697f6cd30ec309a07ea4c268e06ec460f1f0cfd2581daf5eff5763475190ec1ad8ac6520c49ccfe4f5c0a48bfa676 - languageName: node - linkType: hard - "@types/jest@npm:28.1.8": version: 28.1.8 resolution: "@types/jest@npm:28.1.8" @@ -3463,15 +3561,6 @@ __metadata: languageName: node linkType: hard -"@types/testing-library__jest-dom@npm:^5.9.1": - version: 5.14.9 - resolution: "@types/testing-library__jest-dom@npm:5.14.9" - dependencies: - "@types/jest": "*" - checksum: d364494fc2545316292e88861146146af1e3818792ca63b62a63758b2f737669b687f4aaddfcfbcb7d0e1ed7890a9bd05de23ff97f277d5e68de574497a9ee72 - languageName: node - linkType: hard - "@types/tough-cookie@npm:*": version: 4.0.2 resolution: "@types/tough-cookie@npm:4.0.2" @@ -6607,13 +6696,6 @@ __metadata: languageName: node linkType: hard -"diff-sequences@npm:^29.4.3": - version: 29.4.3 - resolution: "diff-sequences@npm:29.4.3" - checksum: 28b265e04fdddcf7f9f814effe102cc95a9dec0564a579b5aed140edb24fc345c611ca52d76d725a3cab55d3888b915b5e8a4702e0f6058968a90fa5f41fcde7 - languageName: node - linkType: hard - "dijkstrajs@npm:^1.0.1": version: 1.0.3 resolution: "dijkstrajs@npm:1.0.3" @@ -6650,13 +6732,20 @@ __metadata: languageName: node linkType: hard -"dom-accessibility-api@npm:^0.5.6, dom-accessibility-api@npm:^0.5.9": +"dom-accessibility-api@npm:^0.5.9": version: 0.5.16 resolution: "dom-accessibility-api@npm:0.5.16" checksum: 005eb283caef57fc1adec4d5df4dd49189b628f2f575af45decb210e04d634459e3f1ee64f18b41e2dcf200c844bc1d9279d80807e686a30d69a4756151ad248 languageName: node linkType: hard +"dom-accessibility-api@npm:^0.6.3": + version: 0.6.3 + resolution: "dom-accessibility-api@npm:0.6.3" + checksum: c325b5144bb406df23f4affecffc117dbaec9af03daad9ee6b510c5be647b14d28ef0a4ea5ca06d696d8ab40bb777e5fed98b985976fdef9d8790178fa1d573f + languageName: node + linkType: hard + "dom-serializer@npm:^2.0.0": version: 2.0.0 resolution: "dom-serializer@npm:2.0.0" @@ -7998,20 +8087,6 @@ __metadata: languageName: node linkType: hard -"expect@npm:^29.0.0": - version: 29.6.2 - resolution: "expect@npm:29.6.2" - dependencies: - "@jest/expect-utils": ^29.6.2 - "@types/node": "*" - jest-get-type: ^29.4.3 - jest-matcher-utils: ^29.6.2 - jest-message-util: ^29.6.2 - jest-util: ^29.6.2 - checksum: 71f7b0c560e58bf6d27e0fded261d4bdb7ef81552a6bb4bd1ee09ce7a1f7dca67fbf83cf9b07a6645a88ef52e65085a0dcbe17f6c063b53ff7c2f0f3ea4ef69e - languageName: node - linkType: hard - "exponential-backoff@npm:^3.1.1": version: 3.1.1 resolution: "exponential-backoff@npm:3.1.1" @@ -10107,18 +10182,6 @@ __metadata: languageName: node linkType: hard -"jest-diff@npm:^29.6.2": - version: 29.6.2 - resolution: "jest-diff@npm:29.6.2" - dependencies: - chalk: ^4.0.0 - diff-sequences: ^29.4.3 - jest-get-type: ^29.4.3 - pretty-format: ^29.6.2 - checksum: 0effd66a0c23f8c139ebf7ca99ed30b479b86fff66f19ad4869f130aaf7ae6a24ca1533f697b7e4930cbe2ddffc85387723fcca673501c653fb77a38f538e959 - languageName: node - linkType: hard - "jest-docblock@npm:^28.1.1": version: 28.1.1 resolution: "jest-docblock@npm:28.1.1" @@ -10178,13 +10241,6 @@ __metadata: languageName: node linkType: hard -"jest-get-type@npm:^29.4.3": - version: 29.4.3 - resolution: "jest-get-type@npm:29.4.3" - checksum: 6ac7f2dde1c65e292e4355b6c63b3a4897d7e92cb4c8afcf6d397f2682f8080e094c8b0b68205a74d269882ec06bf696a9de6cd3e1b7333531e5ed7b112605ce - languageName: node - linkType: hard - "jest-haste-map@npm:^28.1.3": version: 28.1.3 resolution: "jest-haste-map@npm:28.1.3" @@ -10230,18 +10286,6 @@ __metadata: languageName: node linkType: hard -"jest-matcher-utils@npm:^29.6.2": - version: 29.6.2 - resolution: "jest-matcher-utils@npm:29.6.2" - dependencies: - chalk: ^4.0.0 - jest-diff: ^29.6.2 - jest-get-type: ^29.4.3 - pretty-format: ^29.6.2 - checksum: 3e1b65dd30d05f75fe56dc45fbe4135aec2ff96a3d1e21afbf6a66f3a45a7e29cd0fd37cf80b9564e0381d6205833f77ccaf766c6f7e1aad6b7924d117be504e - languageName: node - linkType: hard - "jest-message-util@npm:^28.1.3": version: 28.1.3 resolution: "jest-message-util@npm:28.1.3" @@ -10259,23 +10303,6 @@ __metadata: languageName: node linkType: hard -"jest-message-util@npm:^29.6.2": - version: 29.6.2 - resolution: "jest-message-util@npm:29.6.2" - dependencies: - "@babel/code-frame": ^7.12.13 - "@jest/types": ^29.6.1 - "@types/stack-utils": ^2.0.0 - chalk: ^4.0.0 - graceful-fs: ^4.2.9 - micromatch: ^4.0.4 - pretty-format: ^29.6.2 - slash: ^3.0.0 - stack-utils: ^2.0.3 - checksum: e8e3c8d2301e2ca4038ed6df8cbba7fedc6949d1ede4c0e3f1f44f53afb56d77eb35983fa460140d0eadeab99a5f3ae04b703fe77cd7b316b40b361228b5aa1a - languageName: node - linkType: hard - "jest-mock@npm:^28.1.3": version: 28.1.3 resolution: "jest-mock@npm:28.1.3" @@ -10436,20 +10463,6 @@ __metadata: languageName: node linkType: hard -"jest-util@npm:^29.6.2": - version: 29.6.2 - resolution: "jest-util@npm:29.6.2" - dependencies: - "@jest/types": ^29.6.1 - "@types/node": "*" - chalk: ^4.0.0 - ci-info: ^3.2.0 - graceful-fs: ^4.2.9 - picomatch: ^2.2.3 - checksum: 8aedc0c80083d0cabd6c6c4f04dea1cbcac609fd7bc3b1fc05a3999291bd6e63dd52b0c806f9378d5cae28eff5a6191709a4987861001293f8d03e53984adca4 - languageName: node - linkType: hard - "jest-validate@npm:^28.1.3": version: 28.1.3 resolution: "jest-validate@npm:28.1.3" @@ -12810,17 +12823,6 @@ __metadata: languageName: node linkType: hard -"pretty-format@npm:^29.0.0, pretty-format@npm:^29.6.2": - version: 29.6.2 - resolution: "pretty-format@npm:29.6.2" - dependencies: - "@jest/schemas": ^29.6.0 - ansi-styles: ^5.0.0 - react-is: ^18.0.0 - checksum: a0f972a44f959023c0df9cdfe9eed7540264d7f7ddf74667db8a5294444d5aa153fd47d20327df10ae86964e2ceec10e46ea06b1a5c9c12e02348b78c952c9fc - languageName: node - linkType: hard - "process-nextick-args@npm:~2.0.0": version: 2.0.1 resolution: "process-nextick-args@npm:2.0.1" @@ -15193,10 +15195,15 @@ __metadata: "@depay/web3-mock": ^14.17.0 "@erc725/erc725.js": 0.22.0 "@lukso/lsp-factory.js": 3.2.1 - "@lukso/lsp-smart-contracts": 0.14.0 + "@lukso/lsp0-contracts": ^0.15.0-rc.1 + "@lukso/lsp3-contracts": ^0.15.0-rc.1 + "@lukso/lsp6-contracts": ^0.15.0-rc.1 + "@lukso/lsp7-contracts": ^0.15.0-rc.1 + "@lukso/lsp8-contracts": ^0.15.0-rc.1 + "@lukso/lsp9-contracts": ^0.15.0-rc.1 "@lukso/web3-onboard-config": 1.1.2 "@pinata/sdk": ^2.1.0 - "@testing-library/jest-dom": 5.17.0 + "@testing-library/jest-dom": 6.4.2 "@testing-library/user-event": 14.4.3 "@testing-library/vue": 7.0.0 "@tsndr/cloudflare-worker-jwt": ^2.5.3