From 789318e0f32e1c779a705f9bbe7b330e98009ad3 Mon Sep 17 00:00:00 2001 From: Ruben Marcus Date: Wed, 20 Mar 2024 17:51:09 +0000 Subject: [PATCH 1/3] mbjs lak test --- ai-minter/package.json | 6 +- ai-minter/pnpm-lock.yaml | 341 ++++++++++++++++++++++++++++++++++++-- starter-next/.env.example | 3 - starter-next/package.json | 2 +- 4 files changed, 328 insertions(+), 24 deletions(-) delete mode 100644 starter-next/.env.example diff --git a/ai-minter/package.json b/ai-minter/package.json index af1c61e6..6e84c730 100644 --- a/ai-minter/package.json +++ b/ai-minter/package.json @@ -14,9 +14,9 @@ }, "dependencies": { "@hookform/resolvers": "^3.3.2", - "@mintbase-js/react": "0.5.5-beta.2", - "@mintbase-js/sdk": "0.5.5-beta.2", - "@mintbase-js/storage": "0.5.5-beta.2", + "@mintbase-js/react": "0.6.0-beta.1", + "@mintbase-js/sdk": "0.6.0-beta.1", + "@mintbase-js/storage": "0.6.0-beta.1", "@radix-ui/react-label": "^2.0.2", "@radix-ui/react-select": "^2.0.0", "@radix-ui/react-slot": "^1.0.2", diff --git a/ai-minter/pnpm-lock.yaml b/ai-minter/pnpm-lock.yaml index b3851b4a..2146c71c 100644 --- a/ai-minter/pnpm-lock.yaml +++ b/ai-minter/pnpm-lock.yaml @@ -9,14 +9,14 @@ dependencies: specifier: ^3.3.2 version: 3.3.2(react-hook-form@7.48.2) '@mintbase-js/react': - specifier: 0.5.5-beta.2 - version: 0.5.5-beta.2(borsh@0.7.0)(near-api-js@2.1.4) + specifier: 0.6.0-beta.1 + version: 0.6.0-beta.1(borsh@0.7.0)(near-api-js@2.1.4) '@mintbase-js/sdk': - specifier: 0.5.5-beta.2 - version: 0.5.5-beta.2 + specifier: 0.6.0-beta.1 + version: 0.6.0-beta.1 '@mintbase-js/storage': - specifier: 0.5.5-beta.2 - version: 0.5.5-beta.2 + specifier: 0.6.0-beta.1 + version: 0.6.0-beta.1 '@radix-ui/react-label': specifier: ^2.0.2 version: 2.0.2(@types/react-dom@18.2.15)(@types/react@18.2.37)(react-dom@18.2.0)(react@18.2.0) @@ -261,10 +261,10 @@ packages: query-string: 7.1.3 dev: false - /@mintbase-js/react@0.5.5-beta.2(borsh@0.7.0)(near-api-js@2.1.4): - resolution: {integrity: sha512-A4QIaMmtTvY9WLruoYkhXWnRNEjf4+NL3b2KNZSLoCyK/lx5q7vhfFqdCIiGhfXgnnf0AnAzqLPIoWYg6nqUAw==} + /@mintbase-js/react@0.6.0-beta.1(borsh@0.7.0)(near-api-js@2.1.4): + resolution: {integrity: sha512-ZD9r0Da7Dc7bVN27H5ANBK5IewcTNOOfIDeGLY47ooU38FpNQaoFf1o9cNaLANVcZ3vwm13fljEiVVi9PzDIKA==} dependencies: - '@mintbase-js/wallet': 0.5.5-fix-success-url-issue-765a756.0 + '@mintbase-js/wallet': 0.6.0-beta.0 '@near-wallet-selector/core': 8.9.3(near-api-js@2.1.4) '@near-wallet-selector/here-wallet': 8.9.3(borsh@0.7.0)(near-api-js@2.1.4) '@near-wallet-selector/meteor-wallet': 8.9.3(near-api-js@2.1.4) @@ -287,8 +287,8 @@ packages: - encoding dev: false - /@mintbase-js/sdk@0.5.5-beta.2: - resolution: {integrity: sha512-gvbRFyt4+hyPowVRP9U45/ZR8x4ti+mX9UTkXoJt6Zz7fFSxAz7cWCVambx+9bMxeE2tycz0L12aqSjxS77M4Q==} + /@mintbase-js/sdk@0.6.0-beta.1: + resolution: {integrity: sha512-DgnC0dnQwpzwt0glQcajrapwIKxvlVcrbxQYldVVClfS2xrY70HIIHvmtrxWrFjZbVFXCA4I8zMPojxqWe1VUA==} dependencies: bn.js: 5.2.1 near-api-js: 2.1.4 @@ -296,21 +296,23 @@ packages: - encoding dev: false - /@mintbase-js/storage@0.5.5-beta.2: - resolution: {integrity: sha512-cItytfg7pPsa54vl/rPamSp2BYjRcRgS5FLtz5Tv40p/ahEzYqlgraB6hzCpKo3OU8rvgMDiTyizPwTn22cVnw==} + /@mintbase-js/storage@0.6.0-beta.1: + resolution: {integrity: sha512-FlJ30UJAvXM1sJ5xFpgZfhrlTxhQ/X5NTDlRR9iW3o3B4oK/ZJwT2twaq7mpEgsFduwlf/GKJAAsRdLj12ya3w==} dependencies: '@mintbase-js/sdk': 0.5.2-beta.0 + form-data: 4.0.0 near-api-js: 2.1.4 transitivePeerDependencies: - encoding dev: false - /@mintbase-js/wallet@0.5.5-fix-success-url-issue-765a756.0: - resolution: {integrity: sha512-ooojRMJRUExlrayx1Z+0G9ZIf/6gA99nVDn5QQATsQZdnPsyLMAiBjjM/hsTJRUzMAU3JmobeEyJ2SKtIOmb6w==} + /@mintbase-js/wallet@0.6.0-beta.0: + resolution: {integrity: sha512-ppdkY6KOP7o0tiqlhD1E/pBcZFo+MqCvHbiR+zB2Doae43lmmFxJIkZe39PdRy25Nmz233b4b69V5XKVYA0X8w==} dependencies: - '@near-wallet-selector/core': 8.9.3(near-api-js@2.1.4) + '@near-wallet-selector/core': 8.9.5(near-api-js@3.0.3) + '@near-wallet-selector/wallet-utils': 8.9.5(near-api-js@3.0.3) bn.js: 5.2.1 - near-api-js: 2.1.4 + near-api-js: 3.0.3 transitivePeerDependencies: - encoding dev: false @@ -333,6 +335,26 @@ packages: transitivePeerDependencies: - encoding + /@near-js/accounts@1.0.3: + resolution: {integrity: sha512-8/oSXTlKlhJzsoiWw1g8BnenFIZDj6GC7c6g4KM4gSoMlvVEep1QkV3puCl9o4KvH0FQt3o4ykdhSeHRwPTttw==} + dependencies: + '@near-js/crypto': 1.2.1 + '@near-js/providers': 0.1.0 + '@near-js/signers': 0.1.1 + '@near-js/transactions': 1.1.1 + '@near-js/types': 0.0.4 + '@near-js/utils': 0.1.0 + ajv: 8.11.2 + ajv-formats: 2.1.1(ajv@8.11.2) + bn.js: 5.2.1 + borsh: 1.0.0 + depd: 2.0.0 + lru_map: 0.4.1 + near-abi: 0.1.1 + transitivePeerDependencies: + - encoding + dev: false + /@near-js/crypto@0.0.5: resolution: {integrity: sha512-nbQ971iYES5Spiolt+p568gNuZ//HeMHm3qqT3xT+i8ZzgbC//l6oRf48SUVTPAboQ1TJ5dW/NqcxOY0pe7b4g==} dependencies: @@ -341,24 +363,56 @@ packages: borsh: 0.7.0 tweetnacl: 1.0.3 + /@near-js/crypto@1.2.1: + resolution: {integrity: sha512-iJOHaGKvdudYfR8nEtRhGlgcTEHeVmxMoT0JVXmuP3peG96v/sSnA03CE6MZBeCC8txKAQOffagxE7oU6hJp9g==} + dependencies: + '@near-js/types': 0.0.4 + '@near-js/utils': 0.1.0 + '@noble/curves': 1.2.0 + bn.js: 5.2.1 + borsh: 1.0.0 + randombytes: 2.1.0 + dev: false + /@near-js/keystores-browser@0.0.5: resolution: {integrity: sha512-mHF3Vcvsr7xnkaM/reOyxtykbE3OWKV6vQzqyTH2tZYT2OTEnj0KhRT9BCFC0Ra67K1zQLbg49Yc/kDCc5qupA==} dependencies: '@near-js/crypto': 0.0.5 '@near-js/keystores': 0.0.5 + /@near-js/keystores-browser@0.0.9: + resolution: {integrity: sha512-JzPj+RHJN2G3CEm/LyfbtZDQy/wxgOlqfh52voqPGijUHg93b27KBqtZShazAgJNkhzRbWcoluWQnd2jL8vF7A==} + dependencies: + '@near-js/crypto': 1.2.1 + '@near-js/keystores': 0.0.9 + dev: false + /@near-js/keystores-node@0.0.5: resolution: {integrity: sha512-BYmWyGNydfAqi7eYA1Jo8zULL13cxejD2VBr0BBIXx5bJ+BO4TLecsY1xdTBEq06jyWXHa7kV4h8BJzAjvpTLg==} dependencies: '@near-js/crypto': 0.0.5 '@near-js/keystores': 0.0.5 + /@near-js/keystores-node@0.0.9: + resolution: {integrity: sha512-2B9MYz6uIhysG1fhQSjvaPYCM7gM+UAeDchX0J8QRauXIeN8TGzpcdgkdkMUnWNTIdt3Iblh0ZuCs+FY02dTXg==} + dependencies: + '@near-js/crypto': 1.2.1 + '@near-js/keystores': 0.0.9 + dev: false + /@near-js/keystores@0.0.5: resolution: {integrity: sha512-kxqV+gw/3L8/axe9prhlU+M0hfybkxX54xfI0EEpWP2QiUV+qw+jkKolYIbdk5tdEZrGf9jHawh1yFtwP7APPQ==} dependencies: '@near-js/crypto': 0.0.5 '@near-js/types': 0.0.4 + /@near-js/keystores@0.0.9: + resolution: {integrity: sha512-j8ySgVEcm2Gg6zxkSdadNtPlIqhJZdPGfWWM3tPtEoowNS9snhwZn5NRFPrgmX0+MzpF7E091CRcY90MvRVhsg==} + dependencies: + '@near-js/crypto': 1.2.1 + '@near-js/types': 0.0.4 + dev: false + /@near-js/providers@0.0.7: resolution: {integrity: sha512-qj16Ey+vSw7lHE85xW+ykYJoLPr4A6Q/TsfpwhJLS6zBInSC6sKVqPO1L8bK4VA/yB7V7JJPor9UVCWgRXdNEA==} dependencies: @@ -373,6 +427,21 @@ packages: transitivePeerDependencies: - encoding + /@near-js/providers@0.1.0: + resolution: {integrity: sha512-NUulR6rUwj2BIufM/9/eWopGwQr/6SyL6B62F/oIRN3o2l57m6jzeN3Z8vG0hJMt4ax3TnEU0QDZ7xnaWy1RLA==} + dependencies: + '@near-js/transactions': 1.1.1 + '@near-js/types': 0.0.4 + '@near-js/utils': 0.1.0 + bn.js: 5.2.1 + borsh: 1.0.0 + http-errors: 1.7.2 + optionalDependencies: + node-fetch: 2.6.7 + transitivePeerDependencies: + - encoding + dev: false + /@near-js/signers@0.0.5: resolution: {integrity: sha512-XJjYYatehxHakHa7WAoiQ8uIBSWBR2EnO4GzlIe8qpWL+LoH4t68MSezC1HwT546y9YHIvePjwDrBeYk8mg20w==} dependencies: @@ -380,6 +449,14 @@ packages: '@near-js/keystores': 0.0.5 js-sha256: 0.9.0 + /@near-js/signers@0.1.1: + resolution: {integrity: sha512-focJgs04dBUfawMnyGg3yIjaMawuVz2OeLRKC4t5IQDmO4PLfdIraEuwgS7tckMq3GdrJ7nqkwkpSNYpdt7I5Q==} + dependencies: + '@near-js/crypto': 1.2.1 + '@near-js/keystores': 0.0.9 + '@noble/hashes': 1.3.3 + dev: false + /@near-js/transactions@0.2.1: resolution: {integrity: sha512-V9tXzkICDPruSxihKXkBhUgsI4uvW7TwXlnZS2GZpPsFFiIUeGrso0wo4uiQwB6miFA5q6fKaAtQa4F2v1s+zg==} dependencies: @@ -391,6 +468,18 @@ packages: borsh: 0.7.0 js-sha256: 0.9.0 + /@near-js/transactions@1.1.1: + resolution: {integrity: sha512-C3oNEUDkAwhactTLZ1/VxOu9i+xi0j4ceG6Qoqkm4hlLVPHYx1u9L8oTtlEccXnNpqv/Ey3dcgBRJu/TKPFoEg==} + dependencies: + '@near-js/crypto': 1.2.1 + '@near-js/signers': 0.1.1 + '@near-js/types': 0.0.4 + '@near-js/utils': 0.1.0 + '@noble/hashes': 1.3.3 + bn.js: 5.2.1 + borsh: 1.0.0 + dev: false + /@near-js/types@0.0.4: resolution: {integrity: sha512-8TTMbLMnmyG06R5YKWuS/qFG1tOA3/9lX4NgBqQPsvaWmDsa+D+QwOkrEHDegped0ZHQwcjAXjKML1S1TyGYKg==} dependencies: @@ -404,6 +493,16 @@ packages: depd: 2.0.0 mustache: 4.2.0 + /@near-js/utils@0.1.0: + resolution: {integrity: sha512-kOVAXmJzaC8ElJD3RLEoBuqOK+d5s7jc0JkvhyEtbuEmXYHHAy9Q17/YkDcX9tyr01L85iOt66z0cODqzgtQwA==} + dependencies: + '@near-js/types': 0.0.4 + bn.js: 5.2.1 + bs58: 4.0.0 + depd: 2.0.0 + mustache: 4.0.0 + dev: false + /@near-js/wallet-account@0.0.7: resolution: {integrity: sha512-tmRyieG/wHmuNkg/WGFyKD6iH6atHPbY0rZ5OjOIiteuhZEPgp+z8OBpiQ4qumTa63q46aj/QVSQL0J3+JmBfw==} dependencies: @@ -419,6 +518,22 @@ packages: transitivePeerDependencies: - encoding + /@near-js/wallet-account@1.1.0: + resolution: {integrity: sha512-iwB5hy8OokdAejgwFzAPJ5yR1zsg9u0RVdMJVCBAzSrSm5OhvrN7Goe24s/F2YfN4L3xQBVo39cZJK9366qdqw==} + dependencies: + '@near-js/accounts': 1.0.3 + '@near-js/crypto': 1.2.1 + '@near-js/keystores': 0.0.9 + '@near-js/signers': 0.1.1 + '@near-js/transactions': 1.1.1 + '@near-js/types': 0.0.4 + '@near-js/utils': 0.1.0 + bn.js: 5.2.1 + borsh: 1.0.0 + transitivePeerDependencies: + - encoding + dev: false + /@near-wallet-selector/core@8.8.0(near-api-js@2.1.4): resolution: {integrity: sha512-mFga/YGvniEKUJlilKFBuLP5dc0HO8c5GGTt6nB/cBCwYZYSlMa+EgB35bTpAn4hdhsirArmGROte0flzsDNhg==} peerDependencies: @@ -443,6 +558,18 @@ packages: rxjs: 7.8.1 dev: false + /@near-wallet-selector/core@8.9.5(near-api-js@3.0.3): + resolution: {integrity: sha512-wJiCL8M7z6tkNMY5H4n63/SZCmlW0Z15H6R1biWgpRuMDlVjhQOzxrmQggb1jbK4nYkzXyARNKyPh2gcRUuS+w==} + peerDependencies: + near-api-js: ^1.0.0 || ^2.0.0 + dependencies: + borsh: 0.7.0 + events: 3.3.0 + js-sha256: 0.9.0 + near-api-js: 3.0.3 + rxjs: 7.8.1 + dev: false + /@near-wallet-selector/here-wallet@8.9.3(borsh@0.7.0)(near-api-js@2.1.4): resolution: {integrity: sha512-y7vLNuzIkMWZSRcj0v7Ass2IVAEE2GFlpTc1MjrwXdJ0IL1SDLGntGk2A9dQ+0Iu9kACSmacyRUBXIggZV6NpA==} peerDependencies: @@ -498,6 +625,16 @@ packages: near-api-js: 2.1.4 dev: false + /@near-wallet-selector/wallet-utils@8.9.5(near-api-js@3.0.3): + resolution: {integrity: sha512-TBeQheoizs4EQIGQPJxz44ZsxL4VbjLQJLlpDsNpwQfkxjcyThsZ19hOvcj5XZjwdJxwM10VBcf/qh1mKzv1uQ==} + peerDependencies: + near-api-js: ^1.0.0 || ^2.0.0 + dependencies: + '@near-wallet-selector/core': 8.9.5(near-api-js@3.0.3) + bn.js: 5.2.1 + near-api-js: 3.0.3 + dev: false + /@next/env@14.0.3: resolution: {integrity: sha512-7xRqh9nMvP5xrW4/+L0jgRRX+HoNRGnfJpD+5Wq6/13j3dsdzxO3BCXn7D3hMqsDb+vjZnJq+vI7+EtgrYZTeA==} dev: false @@ -589,6 +726,22 @@ packages: dev: false optional: true + /@noble/curves@1.2.0: + resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} + dependencies: + '@noble/hashes': 1.3.2 + dev: false + + /@noble/hashes@1.3.2: + resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} + engines: {node: '>= 16'} + dev: false + + /@noble/hashes@1.3.3: + resolution: {integrity: sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==} + engines: {node: '>= 16'} + dev: false + /@nodelib/fs.scandir@2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -1256,6 +1409,17 @@ packages: hasBin: true dev: true + /ajv-formats@2.1.1(ajv@8.11.2): + resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} + peerDependencies: + ajv: ^8.0.0 + peerDependenciesMeta: + ajv: + optional: true + dependencies: + ajv: 8.11.2 + dev: false + /ajv-formats@2.1.1(ajv@8.12.0): resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} peerDependencies: @@ -1275,6 +1439,15 @@ packages: uri-js: 4.4.1 dev: true + /ajv@8.11.2: + resolution: {integrity: sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==} + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + dev: false + /ajv@8.12.0: resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} dependencies: @@ -1410,6 +1583,10 @@ packages: has-symbols: 1.0.3 dev: true + /asynckit@0.4.0: + resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + dev: false + /autoprefixer@10.4.16(postcss@8.4.31): resolution: {integrity: sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==} engines: {node: ^10 || ^12 || >=14} @@ -1445,6 +1622,14 @@ packages: /balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + /base-x@2.0.6: + resolution: {integrity: sha512-UAmjxz9KbK+YIi66xej+pZVo/vxUOh49ubEvZW5egCbxhur05pBb+hwuireQwKO4nDpsNm64/jEei17LEpsr5g==} + engines: {node: '>=4.5.0'} + deprecated: use 3.0.0 instead, safe-buffer has been merged and release for compatability + dependencies: + safe-buffer: 5.2.1 + dev: false + /base-x@3.0.9: resolution: {integrity: sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==} dependencies: @@ -1464,6 +1649,10 @@ packages: bs58: 4.0.1 text-encoding-utf-8: 1.0.2 + /borsh@1.0.0: + resolution: {integrity: sha512-fSVWzzemnyfF89EPwlUNsrS5swF5CrtiN4e+h0/lLf4dz2he4L3ndM20PS9wj7ICSkXJe/TQUHdaPTq15b1mNQ==} + dev: false + /brace-expansion@1.1.11: resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} dependencies: @@ -1493,6 +1682,12 @@ packages: update-browserslist-db: 1.0.13(browserslist@4.22.1) dev: true + /bs58@4.0.0: + resolution: {integrity: sha512-/jcGuUuSebyxwLLfKrbKnCJttxRf9PM51EnHTwmFKBxl4z1SGkoAhrfd6uZKE0dcjQTfm6XzTP8DPr1tzE4KIw==} + dependencies: + base-x: 2.0.6 + dev: false + /bs58@4.0.1: resolution: {integrity: sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==} dependencies: @@ -1595,6 +1790,13 @@ packages: /color-name@1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + /combined-stream@1.0.8: + resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} + engines: {node: '>= 0.8'} + dependencies: + delayed-stream: 1.0.0 + dev: false + /commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} engines: {node: '>= 6'} @@ -1699,6 +1901,11 @@ packages: object-keys: 1.1.1 dev: true + /delayed-stream@1.0.0: + resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} + engines: {node: '>=0.4.0'} + dev: false + /depd@1.1.2: resolution: {integrity: sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==} engines: {node: '>= 0.6'} @@ -2234,6 +2441,15 @@ packages: is-callable: 1.2.7 dev: true + /form-data@4.0.0: + resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} + engines: {node: '>= 6'} + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.35 + dev: false + /fraction.js@4.3.7: resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} dev: true @@ -2427,6 +2643,17 @@ packages: dependencies: function-bind: 1.1.2 + /http-errors@1.7.2: + resolution: {integrity: sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==} + engines: {node: '>= 0.6'} + dependencies: + depd: 1.1.2 + inherits: 2.0.3 + setprototypeof: 1.1.1 + statuses: 1.5.0 + toidentifier: 1.0.0 + dev: false + /http-errors@1.8.1: resolution: {integrity: sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==} engines: {node: '>= 0.6'} @@ -2461,6 +2688,10 @@ packages: once: 1.4.0 wrappy: 1.0.2 + /inherits@2.0.3: + resolution: {integrity: sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==} + dev: false + /inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -2782,6 +3013,10 @@ packages: yallist: 4.0.0 dev: true + /lru_map@0.4.1: + resolution: {integrity: sha512-I+lBvqMMFfqaV8CJCISjI3wbjmwVu/VyOoU7+qtu9d7ioW5klMgsTTiUOUp+DJvfTTzKXoPbyC6YfgkNcyPSOg==} + dev: false + /lucide-react@0.292.0(react@18.2.0): resolution: {integrity: sha512-rRgUkpEHWpa5VCT66YscInCQmQuPCB1RFRzkkxMxg4b+jaL0V12E3riWWR2Sh5OIiUhCwGW/ZExuEO4Az32E6Q==} peerDependencies: @@ -2801,6 +3036,18 @@ packages: braces: 3.0.2 picomatch: 2.3.1 + /mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + dev: false + + /mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + dependencies: + mime-db: 1.52.0 + dev: false + /minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} dependencies: @@ -2829,6 +3076,12 @@ packages: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} dev: true + /mustache@4.0.0: + resolution: {integrity: sha512-FJgjyX/IVkbXBXYUwH+OYwQKqWpFPLaLVESd70yHjSDunwzV2hZOoTBvPf4KLoxesUzzyfTH6F784Uqd7Wm5yA==} + engines: {npm: '>=1.4.0'} + hasBin: true + dev: false + /mustache@4.2.0: resolution: {integrity: sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==} hasBin: true @@ -2887,6 +3140,33 @@ packages: transitivePeerDependencies: - encoding + /near-api-js@3.0.3: + resolution: {integrity: sha512-pQhDytWpOM6hxPJ6mCe9tgGKtMwAK9bM2/YnGvBfkRgokSm4US0K0lnqHwEG+g4+6HxRme6SOou1tuAyXdoTsQ==} + dependencies: + '@near-js/accounts': 1.0.3 + '@near-js/crypto': 1.2.1 + '@near-js/keystores': 0.0.9 + '@near-js/keystores-browser': 0.0.9 + '@near-js/keystores-node': 0.0.9 + '@near-js/providers': 0.1.0 + '@near-js/signers': 0.1.1 + '@near-js/transactions': 1.1.1 + '@near-js/types': 0.0.4 + '@near-js/utils': 0.1.0 + '@near-js/wallet-account': 1.1.0 + '@noble/curves': 1.2.0 + ajv: 8.11.2 + ajv-formats: 2.1.1(ajv@8.11.2) + bn.js: 5.2.1 + borsh: 1.0.0 + depd: 2.0.0 + http-errors: 1.7.2 + near-abi: 0.1.1 + node-fetch: 2.6.7 + transitivePeerDependencies: + - encoding + dev: false + /next@14.0.3(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-AbYdRNfImBr3XGtvnwOxq8ekVCwbFTv/UJoLwmaX89nk9i051AEY4/HAWzU0YpaTDw8IofUpmuIlvzWF13jxIw==} engines: {node: '>=18.17.0'} @@ -2926,6 +3206,18 @@ packages: - babel-plugin-macros dev: false + /node-fetch@2.6.7: + resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + dependencies: + whatwg-url: 5.0.0 + dev: false + /node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} engines: {node: 4.x || >=6.0.0} @@ -3227,6 +3519,12 @@ packages: /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + /randombytes@2.1.0: + resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} + dependencies: + safe-buffer: 5.2.1 + dev: false + /react-dom@18.2.0(react@18.2.0): resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} peerDependencies: @@ -3488,6 +3786,10 @@ packages: has-property-descriptors: 1.0.1 dev: true + /setprototypeof@1.1.1: + resolution: {integrity: sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==} + dev: false + /setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} @@ -3728,6 +4030,11 @@ packages: resolution: {integrity: sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==} dev: false + /toidentifier@1.0.0: + resolution: {integrity: sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==} + engines: {node: '>=0.6'} + dev: false + /toidentifier@1.0.1: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} diff --git a/starter-next/.env.example b/starter-next/.env.example deleted file mode 100644 index 6f1d2053..00000000 --- a/starter-next/.env.example +++ /dev/null @@ -1,3 +0,0 @@ -NEXT_PUBLIC_NETWORK="testnet" -NEXT_PUBLIC_CONTRACT_ADDRESS="hellovirtualworld.mintspace2.testnet" -NEXT_PUBLIC_CALLBACK_URL="http://localhost:3000" \ No newline at end of file diff --git a/starter-next/package.json b/starter-next/package.json index 53caa4c9..7b63b1bf 100644 --- a/starter-next/package.json +++ b/starter-next/package.json @@ -21,7 +21,7 @@ "lint": "next lint" }, "dependencies": { - "@mintbase-js/react": "0.5.4-beta.0", + "@mintbase-js/react": "0.6.0-beta.1", "next": "14.0.1", "react": "^18", "react-dom": "^18", From e79e3c2269fe2be7cc26600316838d3076ae7f1b Mon Sep 17 00:00:00 2001 From: Ruben Marcus Date: Wed, 20 Mar 2024 18:17:50 +0000 Subject: [PATCH 2/3] yaml --- starter-next/pnpm-lock.yaml | 287 ++++++++++++++++++++++++++++++++++-- 1 file changed, 278 insertions(+), 9 deletions(-) diff --git a/starter-next/pnpm-lock.yaml b/starter-next/pnpm-lock.yaml index a19cbcfd..86fc11df 100644 --- a/starter-next/pnpm-lock.yaml +++ b/starter-next/pnpm-lock.yaml @@ -6,8 +6,8 @@ settings: dependencies: '@mintbase-js/react': - specifier: 0.5.4-beta.0 - version: 0.5.4-beta.0(borsh@0.7.0)(near-api-js@2.1.4) + specifier: 0.6.0-beta.1 + version: 0.6.0-beta.1(borsh@0.7.0)(near-api-js@2.1.4) next: specifier: 14.0.1 version: 14.0.1(react-dom@18.2.0)(react@18.2.0) @@ -190,10 +190,10 @@ packages: query-string: 7.1.3 dev: false - /@mintbase-js/react@0.5.4-beta.0(borsh@0.7.0)(near-api-js@2.1.4): - resolution: {integrity: sha512-vr4njHyMXxaCYtQnpGOfG80J8sz2f5KegJlV7qOiSUcFYETJ/4x/y0Vt5+Gf3y6vOkfEbFGd3OdS2j5uSxYBgA==} + /@mintbase-js/react@0.6.0-beta.1(borsh@0.7.0)(near-api-js@2.1.4): + resolution: {integrity: sha512-ZD9r0Da7Dc7bVN27H5ANBK5IewcTNOOfIDeGLY47ooU38FpNQaoFf1o9cNaLANVcZ3vwm13fljEiVVi9PzDIKA==} dependencies: - '@mintbase-js/wallet': 0.5.2-beta.0 + '@mintbase-js/wallet': 0.6.0-beta.0 '@near-wallet-selector/core': 8.9.3(near-api-js@2.1.4) '@near-wallet-selector/here-wallet': 8.9.3(borsh@0.7.0)(near-api-js@2.1.4) '@near-wallet-selector/meteor-wallet': 8.9.3(near-api-js@2.1.4) @@ -207,12 +207,13 @@ packages: - near-api-js dev: false - /@mintbase-js/wallet@0.5.2-beta.0: - resolution: {integrity: sha512-8byHdddYMTn/QbrTV9Nhk7HocDSPxuye30W3e3TitgR8PvWXiY/mnj0QstiV9Cb+82dssH5vSrNQ1cUPet7xPw==} + /@mintbase-js/wallet@0.6.0-beta.0: + resolution: {integrity: sha512-ppdkY6KOP7o0tiqlhD1E/pBcZFo+MqCvHbiR+zB2Doae43lmmFxJIkZe39PdRy25Nmz233b4b69V5XKVYA0X8w==} dependencies: - '@near-wallet-selector/core': 8.9.3(near-api-js@2.1.4) + '@near-wallet-selector/core': 8.9.5(near-api-js@3.0.3) + '@near-wallet-selector/wallet-utils': 8.9.5(near-api-js@3.0.3) bn.js: 5.2.1 - near-api-js: 2.1.4 + near-api-js: 3.0.3 transitivePeerDependencies: - encoding dev: false @@ -236,6 +237,26 @@ packages: - encoding dev: false + /@near-js/accounts@1.0.3: + resolution: {integrity: sha512-8/oSXTlKlhJzsoiWw1g8BnenFIZDj6GC7c6g4KM4gSoMlvVEep1QkV3puCl9o4KvH0FQt3o4ykdhSeHRwPTttw==} + dependencies: + '@near-js/crypto': 1.2.1 + '@near-js/providers': 0.1.0 + '@near-js/signers': 0.1.1 + '@near-js/transactions': 1.1.1 + '@near-js/types': 0.0.4 + '@near-js/utils': 0.1.0 + ajv: 8.11.2 + ajv-formats: 2.1.1(ajv@8.11.2) + bn.js: 5.2.1 + borsh: 1.0.0 + depd: 2.0.0 + lru_map: 0.4.1 + near-abi: 0.1.1 + transitivePeerDependencies: + - encoding + dev: false + /@near-js/crypto@0.0.5: resolution: {integrity: sha512-nbQ971iYES5Spiolt+p568gNuZ//HeMHm3qqT3xT+i8ZzgbC//l6oRf48SUVTPAboQ1TJ5dW/NqcxOY0pe7b4g==} dependencies: @@ -245,6 +266,17 @@ packages: tweetnacl: 1.0.3 dev: false + /@near-js/crypto@1.2.1: + resolution: {integrity: sha512-iJOHaGKvdudYfR8nEtRhGlgcTEHeVmxMoT0JVXmuP3peG96v/sSnA03CE6MZBeCC8txKAQOffagxE7oU6hJp9g==} + dependencies: + '@near-js/types': 0.0.4 + '@near-js/utils': 0.1.0 + '@noble/curves': 1.2.0 + bn.js: 5.2.1 + borsh: 1.0.0 + randombytes: 2.1.0 + dev: false + /@near-js/keystores-browser@0.0.5: resolution: {integrity: sha512-mHF3Vcvsr7xnkaM/reOyxtykbE3OWKV6vQzqyTH2tZYT2OTEnj0KhRT9BCFC0Ra67K1zQLbg49Yc/kDCc5qupA==} dependencies: @@ -252,6 +284,13 @@ packages: '@near-js/keystores': 0.0.5 dev: false + /@near-js/keystores-browser@0.0.9: + resolution: {integrity: sha512-JzPj+RHJN2G3CEm/LyfbtZDQy/wxgOlqfh52voqPGijUHg93b27KBqtZShazAgJNkhzRbWcoluWQnd2jL8vF7A==} + dependencies: + '@near-js/crypto': 1.2.1 + '@near-js/keystores': 0.0.9 + dev: false + /@near-js/keystores-node@0.0.5: resolution: {integrity: sha512-BYmWyGNydfAqi7eYA1Jo8zULL13cxejD2VBr0BBIXx5bJ+BO4TLecsY1xdTBEq06jyWXHa7kV4h8BJzAjvpTLg==} dependencies: @@ -259,6 +298,13 @@ packages: '@near-js/keystores': 0.0.5 dev: false + /@near-js/keystores-node@0.0.9: + resolution: {integrity: sha512-2B9MYz6uIhysG1fhQSjvaPYCM7gM+UAeDchX0J8QRauXIeN8TGzpcdgkdkMUnWNTIdt3Iblh0ZuCs+FY02dTXg==} + dependencies: + '@near-js/crypto': 1.2.1 + '@near-js/keystores': 0.0.9 + dev: false + /@near-js/keystores@0.0.5: resolution: {integrity: sha512-kxqV+gw/3L8/axe9prhlU+M0hfybkxX54xfI0EEpWP2QiUV+qw+jkKolYIbdk5tdEZrGf9jHawh1yFtwP7APPQ==} dependencies: @@ -266,6 +312,13 @@ packages: '@near-js/types': 0.0.4 dev: false + /@near-js/keystores@0.0.9: + resolution: {integrity: sha512-j8ySgVEcm2Gg6zxkSdadNtPlIqhJZdPGfWWM3tPtEoowNS9snhwZn5NRFPrgmX0+MzpF7E091CRcY90MvRVhsg==} + dependencies: + '@near-js/crypto': 1.2.1 + '@near-js/types': 0.0.4 + dev: false + /@near-js/providers@0.0.7: resolution: {integrity: sha512-qj16Ey+vSw7lHE85xW+ykYJoLPr4A6Q/TsfpwhJLS6zBInSC6sKVqPO1L8bK4VA/yB7V7JJPor9UVCWgRXdNEA==} dependencies: @@ -281,6 +334,21 @@ packages: - encoding dev: false + /@near-js/providers@0.1.0: + resolution: {integrity: sha512-NUulR6rUwj2BIufM/9/eWopGwQr/6SyL6B62F/oIRN3o2l57m6jzeN3Z8vG0hJMt4ax3TnEU0QDZ7xnaWy1RLA==} + dependencies: + '@near-js/transactions': 1.1.1 + '@near-js/types': 0.0.4 + '@near-js/utils': 0.1.0 + bn.js: 5.2.1 + borsh: 1.0.0 + http-errors: 1.7.2 + optionalDependencies: + node-fetch: 2.6.7 + transitivePeerDependencies: + - encoding + dev: false + /@near-js/signers@0.0.5: resolution: {integrity: sha512-XJjYYatehxHakHa7WAoiQ8uIBSWBR2EnO4GzlIe8qpWL+LoH4t68MSezC1HwT546y9YHIvePjwDrBeYk8mg20w==} dependencies: @@ -289,6 +357,14 @@ packages: js-sha256: 0.9.0 dev: false + /@near-js/signers@0.1.1: + resolution: {integrity: sha512-focJgs04dBUfawMnyGg3yIjaMawuVz2OeLRKC4t5IQDmO4PLfdIraEuwgS7tckMq3GdrJ7nqkwkpSNYpdt7I5Q==} + dependencies: + '@near-js/crypto': 1.2.1 + '@near-js/keystores': 0.0.9 + '@noble/hashes': 1.3.3 + dev: false + /@near-js/transactions@0.2.1: resolution: {integrity: sha512-V9tXzkICDPruSxihKXkBhUgsI4uvW7TwXlnZS2GZpPsFFiIUeGrso0wo4uiQwB6miFA5q6fKaAtQa4F2v1s+zg==} dependencies: @@ -301,6 +377,18 @@ packages: js-sha256: 0.9.0 dev: false + /@near-js/transactions@1.1.1: + resolution: {integrity: sha512-C3oNEUDkAwhactTLZ1/VxOu9i+xi0j4ceG6Qoqkm4hlLVPHYx1u9L8oTtlEccXnNpqv/Ey3dcgBRJu/TKPFoEg==} + dependencies: + '@near-js/crypto': 1.2.1 + '@near-js/signers': 0.1.1 + '@near-js/types': 0.0.4 + '@near-js/utils': 0.1.0 + '@noble/hashes': 1.3.3 + bn.js: 5.2.1 + borsh: 1.0.0 + dev: false + /@near-js/types@0.0.4: resolution: {integrity: sha512-8TTMbLMnmyG06R5YKWuS/qFG1tOA3/9lX4NgBqQPsvaWmDsa+D+QwOkrEHDegped0ZHQwcjAXjKML1S1TyGYKg==} dependencies: @@ -316,6 +404,16 @@ packages: mustache: 4.2.0 dev: false + /@near-js/utils@0.1.0: + resolution: {integrity: sha512-kOVAXmJzaC8ElJD3RLEoBuqOK+d5s7jc0JkvhyEtbuEmXYHHAy9Q17/YkDcX9tyr01L85iOt66z0cODqzgtQwA==} + dependencies: + '@near-js/types': 0.0.4 + bn.js: 5.2.1 + bs58: 4.0.0 + depd: 2.0.0 + mustache: 4.0.0 + dev: false + /@near-js/wallet-account@0.0.7: resolution: {integrity: sha512-tmRyieG/wHmuNkg/WGFyKD6iH6atHPbY0rZ5OjOIiteuhZEPgp+z8OBpiQ4qumTa63q46aj/QVSQL0J3+JmBfw==} dependencies: @@ -332,6 +430,22 @@ packages: - encoding dev: false + /@near-js/wallet-account@1.1.0: + resolution: {integrity: sha512-iwB5hy8OokdAejgwFzAPJ5yR1zsg9u0RVdMJVCBAzSrSm5OhvrN7Goe24s/F2YfN4L3xQBVo39cZJK9366qdqw==} + dependencies: + '@near-js/accounts': 1.0.3 + '@near-js/crypto': 1.2.1 + '@near-js/keystores': 0.0.9 + '@near-js/signers': 0.1.1 + '@near-js/transactions': 1.1.1 + '@near-js/types': 0.0.4 + '@near-js/utils': 0.1.0 + bn.js: 5.2.1 + borsh: 1.0.0 + transitivePeerDependencies: + - encoding + dev: false + /@near-wallet-selector/core@8.9.3(near-api-js@2.1.4): resolution: {integrity: sha512-Mjmos4ska8eHwU/tGiWdAY+hHrFRSIpsmLYEfWuO/Uh1bWbJVueyKI7OGxbyWEOL1GJw1J5rx+MzXRS+U3fJow==} peerDependencies: @@ -344,6 +458,18 @@ packages: rxjs: 7.8.1 dev: false + /@near-wallet-selector/core@8.9.5(near-api-js@3.0.3): + resolution: {integrity: sha512-wJiCL8M7z6tkNMY5H4n63/SZCmlW0Z15H6R1biWgpRuMDlVjhQOzxrmQggb1jbK4nYkzXyARNKyPh2gcRUuS+w==} + peerDependencies: + near-api-js: ^1.0.0 || ^2.0.0 + dependencies: + borsh: 0.7.0 + events: 3.3.0 + js-sha256: 0.9.0 + near-api-js: 3.0.3 + rxjs: 7.8.1 + dev: false + /@near-wallet-selector/here-wallet@8.9.3(borsh@0.7.0)(near-api-js@2.1.4): resolution: {integrity: sha512-y7vLNuzIkMWZSRcj0v7Ass2IVAEE2GFlpTc1MjrwXdJ0IL1SDLGntGk2A9dQ+0Iu9kACSmacyRUBXIggZV6NpA==} peerDependencies: @@ -399,6 +525,16 @@ packages: near-api-js: 2.1.4 dev: false + /@near-wallet-selector/wallet-utils@8.9.5(near-api-js@3.0.3): + resolution: {integrity: sha512-TBeQheoizs4EQIGQPJxz44ZsxL4VbjLQJLlpDsNpwQfkxjcyThsZ19hOvcj5XZjwdJxwM10VBcf/qh1mKzv1uQ==} + peerDependencies: + near-api-js: ^1.0.0 || ^2.0.0 + dependencies: + '@near-wallet-selector/core': 8.9.5(near-api-js@3.0.3) + bn.js: 5.2.1 + near-api-js: 3.0.3 + dev: false + /@next/env@14.0.1: resolution: {integrity: sha512-Ms8ZswqY65/YfcjrlcIwMPD7Rg/dVjdLapMcSHG26W6O67EJDF435ShW4H4LXi1xKO1oRc97tLXUpx8jpLe86A==} dev: false @@ -490,6 +626,22 @@ packages: dev: false optional: true + /@noble/curves@1.2.0: + resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} + dependencies: + '@noble/hashes': 1.3.2 + dev: false + + /@noble/hashes@1.3.2: + resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} + engines: {node: '>= 16'} + dev: false + + /@noble/hashes@1.3.3: + resolution: {integrity: sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==} + engines: {node: '>= 16'} + dev: false + /@nodelib/fs.scandir@2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -710,6 +862,17 @@ packages: hasBin: true dev: true + /ajv-formats@2.1.1(ajv@8.11.2): + resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} + peerDependencies: + ajv: ^8.0.0 + peerDependenciesMeta: + ajv: + optional: true + dependencies: + ajv: 8.11.2 + dev: false + /ajv-formats@2.1.1(ajv@8.12.0): resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} peerDependencies: @@ -730,6 +893,15 @@ packages: uri-js: 4.4.1 dev: true + /ajv@8.11.2: + resolution: {integrity: sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==} + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + dev: false + /ajv@8.12.0: resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} dependencies: @@ -898,6 +1070,14 @@ packages: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} dev: true + /base-x@2.0.6: + resolution: {integrity: sha512-UAmjxz9KbK+YIi66xej+pZVo/vxUOh49ubEvZW5egCbxhur05pBb+hwuireQwKO4nDpsNm64/jEei17LEpsr5g==} + engines: {node: '>=4.5.0'} + deprecated: use 3.0.0 instead, safe-buffer has been merged and release for compatability + dependencies: + safe-buffer: 5.2.1 + dev: false + /base-x@3.0.9: resolution: {integrity: sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==} dependencies: @@ -921,6 +1101,10 @@ packages: text-encoding-utf-8: 1.0.2 dev: false + /borsh@1.0.0: + resolution: {integrity: sha512-fSVWzzemnyfF89EPwlUNsrS5swF5CrtiN4e+h0/lLf4dz2he4L3ndM20PS9wj7ICSkXJe/TQUHdaPTq15b1mNQ==} + dev: false + /brace-expansion@1.1.11: resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} dependencies: @@ -952,6 +1136,12 @@ packages: update-browserslist-db: 1.0.13(browserslist@4.22.1) dev: true + /bs58@4.0.0: + resolution: {integrity: sha512-/jcGuUuSebyxwLLfKrbKnCJttxRf9PM51EnHTwmFKBxl4z1SGkoAhrfd6uZKE0dcjQTfm6XzTP8DPr1tzE4KIw==} + dependencies: + base-x: 2.0.6 + dev: false + /bs58@4.0.1: resolution: {integrity: sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==} dependencies: @@ -1890,6 +2080,17 @@ packages: function-bind: 1.1.2 dev: true + /http-errors@1.7.2: + resolution: {integrity: sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==} + engines: {node: '>= 0.6'} + dependencies: + depd: 1.1.2 + inherits: 2.0.3 + setprototypeof: 1.1.1 + statuses: 1.5.0 + toidentifier: 1.0.0 + dev: false + /http-errors@1.8.1: resolution: {integrity: sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==} engines: {node: '>= 0.6'} @@ -1926,6 +2127,10 @@ packages: wrappy: 1.0.2 dev: true + /inherits@2.0.3: + resolution: {integrity: sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==} + dev: false + /inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -2247,6 +2452,10 @@ packages: yallist: 4.0.0 dev: true + /lru_map@0.4.1: + resolution: {integrity: sha512-I+lBvqMMFfqaV8CJCISjI3wbjmwVu/VyOoU7+qtu9d7ioW5klMgsTTiUOUp+DJvfTTzKXoPbyC6YfgkNcyPSOg==} + dev: false + /merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} @@ -2289,6 +2498,12 @@ packages: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} dev: true + /mustache@4.0.0: + resolution: {integrity: sha512-FJgjyX/IVkbXBXYUwH+OYwQKqWpFPLaLVESd70yHjSDunwzV2hZOoTBvPf4KLoxesUzzyfTH6F784Uqd7Wm5yA==} + engines: {npm: '>=1.4.0'} + hasBin: true + dev: false + /mustache@4.2.0: resolution: {integrity: sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==} hasBin: true @@ -2351,6 +2566,33 @@ packages: - encoding dev: false + /near-api-js@3.0.3: + resolution: {integrity: sha512-pQhDytWpOM6hxPJ6mCe9tgGKtMwAK9bM2/YnGvBfkRgokSm4US0K0lnqHwEG+g4+6HxRme6SOou1tuAyXdoTsQ==} + dependencies: + '@near-js/accounts': 1.0.3 + '@near-js/crypto': 1.2.1 + '@near-js/keystores': 0.0.9 + '@near-js/keystores-browser': 0.0.9 + '@near-js/keystores-node': 0.0.9 + '@near-js/providers': 0.1.0 + '@near-js/signers': 0.1.1 + '@near-js/transactions': 1.1.1 + '@near-js/types': 0.0.4 + '@near-js/utils': 0.1.0 + '@near-js/wallet-account': 1.1.0 + '@noble/curves': 1.2.0 + ajv: 8.11.2 + ajv-formats: 2.1.1(ajv@8.11.2) + bn.js: 5.2.1 + borsh: 1.0.0 + depd: 2.0.0 + http-errors: 1.7.2 + near-abi: 0.1.1 + node-fetch: 2.6.7 + transitivePeerDependencies: + - encoding + dev: false + /next@14.0.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-s4YaLpE4b0gmb3ggtmpmV+wt+lPRuGtANzojMQ2+gmBpgX9w5fTbjsy6dXByBuENsdCX5pukZH/GxdFgO62+pA==} engines: {node: '>=18.17.0'} @@ -2390,6 +2632,18 @@ packages: - babel-plugin-macros dev: false + /node-fetch@2.6.7: + resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + dependencies: + whatwg-url: 5.0.0 + dev: false + /node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} engines: {node: 4.x || >=6.0.0} @@ -2709,6 +2963,12 @@ packages: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: true + /randombytes@2.1.0: + resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} + dependencies: + safe-buffer: 5.2.1 + dev: false + /react-dom@18.2.0(react@18.2.0): resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} peerDependencies: @@ -2918,6 +3178,10 @@ packages: has-property-descriptors: 1.0.1 dev: true + /setprototypeof@1.1.1: + resolution: {integrity: sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==} + dev: false + /setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} dev: false @@ -3153,6 +3417,11 @@ packages: resolution: {integrity: sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==} dev: false + /toidentifier@1.0.0: + resolution: {integrity: sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==} + engines: {node: '>=0.6'} + dev: false + /toidentifier@1.0.1: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} From acc2dd075000c3fbf9144d6ec845ecdbdb2b4eed Mon Sep 17 00:00:00 2001 From: Ruben Marcus Date: Wed, 20 Mar 2024 18:19:33 +0000 Subject: [PATCH 3/3] types --- ai-minter/src/hooks/useMint.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ai-minter/src/hooks/useMint.ts b/ai-minter/src/hooks/useMint.ts index 56b992e3..51b96847 100644 --- a/ai-minter/src/hooks/useMint.ts +++ b/ai-minter/src/hooks/useMint.ts @@ -8,10 +8,11 @@ import { useMbWallet } from "@mintbase-js/react"; import { zodResolver } from "@hookform/resolvers/zod"; import { - ArweaveResponse, uploadFile, uploadReference, } from "@mintbase-js/storage"; +import { ArweaveResponse } from "@mintbase-js/storage/lib/types"; + import { formSchema } from "./formSchema"; import { MintbaseWalletSetup, proxyAddress } from "@/config/setup"; import { Wallet } from "@near-wallet-selector/core";