@hypercerts-org/marketplace-sdk 0.3.34 → 0.3.36

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/LICENSE-APACHE ADDED
@@ -0,0 +1,10 @@
1
+ Copyright 2023 Hypercerts Foundation
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
4
+ License. You may obtain a copy of the License at
5
+
6
+ http://www.apache.org/licenses/LICENSE-2.0
7
+
8
+ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
9
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ language governing permissions and limitations under the License.
package/LICENSE-MIT ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Hypercerts Foundation
4
+
5
+ Copyright (c) 2022 LooksRare for portions of marketplace: https://github.com/LooksRare/contracts-exchange-v2 commit:
6
+ 7fca565
7
+
8
+ Copyright (c) 2022 Paul Razvan Berg for inital template: https://github.com/paulrberg/foundry-template
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
11
+ documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
12
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
13
+ persons to whom the Software is furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
16
+ Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
19
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
20
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
21
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/dist/index.cjs.js CHANGED
@@ -693,6 +693,8 @@ exports.ChainId = void 0;
693
693
  ChainId[ChainId["OPTIMISM"] = 10] = "OPTIMISM";
694
694
  ChainId[ChainId["CELO"] = 42220] = "CELO";
695
695
  ChainId[ChainId["BASE"] = 8453] = "BASE";
696
+ ChainId[ChainId["ARBITRUM_SEPOLIA"] = 421614] = "ARBITRUM_SEPOLIA";
697
+ ChainId[ChainId["ARBITRUM"] = 42161] = "ARBITRUM";
696
698
  })(exports.ChainId || (exports.ChainId = {}));
697
699
  /** List of collection types supported by the protocol */
698
700
  exports.CollectionType = void 0;
@@ -1145,21 +1147,27 @@ const currencyAddressesPerChain = {
1145
1147
  [exports.ChainId.SEPOLIA]: {
1146
1148
  ETH: ethers.ZeroAddress,
1147
1149
  WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
1148
- DAI: "0x68194a729C2450ad26072b3D33ADaCbcef39D574",
1150
+ DAI: "0x779877A7B0D9E8603169DdbD7836e478b4624789",
1149
1151
  USDC: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
1150
1152
  },
1151
1153
  [exports.ChainId.HARDHAT]: {
1152
1154
  ETH: ethers.ZeroAddress,
1153
1155
  WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
1154
- DAI: "0x68194a729C2450ad26072b3D33ADaCbcef39D574",
1156
+ DAI: "0x779877A7B0D9E8603169DdbD7836e478b4624789",
1155
1157
  USDC: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
1156
1158
  },
1157
1159
  [exports.ChainId.BASE_SEPOLIA]: {
1158
1160
  ETH: ethers.ZeroAddress,
1159
- WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
1161
+ WETH: "0x4200000000000000000000000000000000000006",
1160
1162
  DAI: "0xE4aB69C077896252FAFBD49EFD26B5D171A32410",
1161
1163
  USDC: "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
1162
1164
  },
1165
+ [exports.ChainId.ARBITRUM_SEPOLIA]: {
1166
+ ETH: ethers.ZeroAddress,
1167
+ WETH: "0x3031a6D5D9648BA5f50f656Cd4a1672E1167a34A",
1168
+ DAI: "0xb1D4538B4571d411F07960EF2838Ce337FE1E80E",
1169
+ USDC: "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d",
1170
+ },
1163
1171
  [exports.ChainId.OPTIMISM]: {
1164
1172
  ETH: ethers.ZeroAddress,
1165
1173
  WETH: "0x4200000000000000000000000000000000000006",
@@ -1178,6 +1186,12 @@ const currencyAddressesPerChain = {
1178
1186
  DAI: "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb",
1179
1187
  USDC: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
1180
1188
  },
1189
+ [exports.ChainId.ARBITRUM]: {
1190
+ ETH: ethers.ZeroAddress,
1191
+ WETH: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
1192
+ DAI: "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1",
1193
+ USDC: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
1194
+ },
1181
1195
  };
1182
1196
  const getCurrencies = (chainId) => {
1183
1197
  const currenciesForChain = currencyAddressesPerChain[chainId];
@@ -1211,16 +1225,18 @@ const currenciesByNetwork = {
1211
1225
  [exports.ChainId.OPTIMISM]: getCurrencies(exports.ChainId.OPTIMISM),
1212
1226
  [exports.ChainId.CELO]: getCurrencies(exports.ChainId.CELO),
1213
1227
  [exports.ChainId.BASE]: getCurrencies(exports.ChainId.BASE),
1228
+ [exports.ChainId.ARBITRUM_SEPOLIA]: getCurrencies(exports.ChainId.ARBITRUM_SEPOLIA),
1229
+ [exports.ChainId.ARBITRUM]: getCurrencies(exports.ChainId.ARBITRUM),
1214
1230
  };
1215
1231
 
1216
1232
  const chainInfo = {
1217
1233
  [exports.ChainId.SEPOLIA]: {
1218
1234
  label: "Sepolia",
1219
- appUrl: "https://sepolia.looksrare.org",
1235
+ appUrl: "https://testnet.hypercerts.org",
1220
1236
  explorer: "https://sepolia.etherscan.io",
1221
- rpcUrl: "https://eth-sepolia.g.alchemy.com/v2",
1222
- baseApiUrl: "https://graphql-sepolia.looksrare.org",
1223
- osApiUrl: "https://testnets-api.opensea.io",
1237
+ rpcUrl: "https://rpc.sepolia.org",
1238
+ baseApiUrl: "https://staging-api.hypercerts.org",
1239
+ osApiUrl: "https://testnets-api.opensea.io"
1224
1240
  },
1225
1241
  [exports.ChainId.HARDHAT]: {
1226
1242
  label: "Hardhat",
@@ -1228,40 +1244,48 @@ const chainInfo = {
1228
1244
  explorer: "https://etherscan.io",
1229
1245
  rpcUrl: "http://127.0.0.1:8545",
1230
1246
  baseApiUrl: "http://localhost:4000",
1231
- osApiUrl: "https://testnets-api.opensea.io",
1247
+ osApiUrl: "https://testnets-api.opensea.io"
1232
1248
  },
1233
1249
  [exports.ChainId.BASE_SEPOLIA]: {
1234
1250
  label: "Base Sepolia",
1235
- appUrl: "https://sepolia.base.looksrare.org",
1251
+ appUrl: "https://testnet.hypercerts.org",
1236
1252
  explorer: "https://sepolia.basescan.org",
1237
1253
  rpcUrl: "https://sepolia.base.org",
1238
- baseApiUrl: "https://api-sepolia.basescan.org/api",
1239
- osApiUrl: "https://testnets-api.opensea.io",
1254
+ baseApiUrl: "https://staging-api.hypercerts.org",
1255
+ osApiUrl: "https://testnets-api.opensea.io"
1256
+ },
1257
+ [exports.ChainId.ARBITRUM_SEPOLIA]: {
1258
+ label: "Arbitrum Sepolia",
1259
+ appUrl: "https://testnet.hypercerts.org",
1260
+ explorer: "https://sepolia.arbiscan.io",
1261
+ rpcUrl: "https://sepolia-rollup.arbitrum.io/rpc",
1262
+ baseApiUrl: "https://staging-api.hypercerts.org",
1263
+ osApiUrl: "https://testnets-api.opensea.io"
1240
1264
  },
1241
1265
  [exports.ChainId.OPTIMISM]: {
1242
1266
  label: "Optimism",
1243
- appUrl: "https://optimism.looksrare.org",
1244
- explorer: "https://optimism.etherscan.io",
1245
- rpcUrl: "https://optimism.g.alchemy.com/v2",
1246
- baseApiUrl: "https://graphql-optimism.looksrare.org",
1247
- osApiUrl: "https://testnets-api.opensea.io",
1267
+ appUrl: "https://app.hypercerts.org",
1268
+ explorer: "https://optimistic.etherscan.io",
1269
+ rpcUrl: "https://opt-mainnet.g.alchemy.com/v2",
1270
+ baseApiUrl: "https://api.hypercerts.org",
1271
+ osApiUrl: "https://testnets-api.opensea.io"
1248
1272
  },
1249
1273
  [exports.ChainId.CELO]: {
1250
1274
  label: "Celo",
1251
- appUrl: "https://celo.looksrare.org",
1275
+ appUrl: "https://app.hypercerts.org",
1252
1276
  explorer: "https://explorer.celo.org",
1253
1277
  rpcUrl: "https://forno.celo.org",
1254
- baseApiUrl: "https://api.celo.looksrare.org",
1255
- osApiUrl: "https://testnets-api.opensea.io",
1278
+ baseApiUrl: "https://api.hypercerts.org",
1279
+ osApiUrl: "https://testnets-api.opensea.io"
1256
1280
  },
1257
1281
  [exports.ChainId.BASE]: {
1258
1282
  label: "Base",
1259
- appUrl: "https://base.looksrare.org",
1260
- explorer: "https://base.etherscan.io",
1261
- rpcUrl: "https://eth-base.g.alchemy.com/v2",
1262
- baseApiUrl: "https://graphql-base.looksrare.org",
1263
- osApiUrl: "https://testnets-api.opensea.io",
1264
- },
1283
+ appUrl: "https://app.hypercerts.org",
1284
+ explorer: "https://basescan.io",
1285
+ rpcUrl: "https://mainnet.base.org",
1286
+ baseApiUrl: "https://api.hypercerts.org",
1287
+ osApiUrl: "https://testnets-api.opensea.io"
1288
+ }
1265
1289
  };
1266
1290
 
1267
1291
  /** Maximum amount of orders in a merkle tree
package/dist/index.esm.js CHANGED
@@ -691,6 +691,8 @@ var ChainId;
691
691
  ChainId[ChainId["OPTIMISM"] = 10] = "OPTIMISM";
692
692
  ChainId[ChainId["CELO"] = 42220] = "CELO";
693
693
  ChainId[ChainId["BASE"] = 8453] = "BASE";
694
+ ChainId[ChainId["ARBITRUM_SEPOLIA"] = 421614] = "ARBITRUM_SEPOLIA";
695
+ ChainId[ChainId["ARBITRUM"] = 42161] = "ARBITRUM";
694
696
  })(ChainId || (ChainId = {}));
695
697
  /** List of collection types supported by the protocol */
696
698
  var CollectionType;
@@ -1143,21 +1145,27 @@ const currencyAddressesPerChain = {
1143
1145
  [ChainId.SEPOLIA]: {
1144
1146
  ETH: ZeroAddress,
1145
1147
  WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
1146
- DAI: "0x68194a729C2450ad26072b3D33ADaCbcef39D574",
1148
+ DAI: "0x779877A7B0D9E8603169DdbD7836e478b4624789",
1147
1149
  USDC: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
1148
1150
  },
1149
1151
  [ChainId.HARDHAT]: {
1150
1152
  ETH: ZeroAddress,
1151
1153
  WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
1152
- DAI: "0x68194a729C2450ad26072b3D33ADaCbcef39D574",
1154
+ DAI: "0x779877A7B0D9E8603169DdbD7836e478b4624789",
1153
1155
  USDC: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
1154
1156
  },
1155
1157
  [ChainId.BASE_SEPOLIA]: {
1156
1158
  ETH: ZeroAddress,
1157
- WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
1159
+ WETH: "0x4200000000000000000000000000000000000006",
1158
1160
  DAI: "0xE4aB69C077896252FAFBD49EFD26B5D171A32410",
1159
1161
  USDC: "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
1160
1162
  },
1163
+ [ChainId.ARBITRUM_SEPOLIA]: {
1164
+ ETH: ZeroAddress,
1165
+ WETH: "0x3031a6D5D9648BA5f50f656Cd4a1672E1167a34A",
1166
+ DAI: "0xb1D4538B4571d411F07960EF2838Ce337FE1E80E",
1167
+ USDC: "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d",
1168
+ },
1161
1169
  [ChainId.OPTIMISM]: {
1162
1170
  ETH: ZeroAddress,
1163
1171
  WETH: "0x4200000000000000000000000000000000000006",
@@ -1176,6 +1184,12 @@ const currencyAddressesPerChain = {
1176
1184
  DAI: "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb",
1177
1185
  USDC: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
1178
1186
  },
1187
+ [ChainId.ARBITRUM]: {
1188
+ ETH: ZeroAddress,
1189
+ WETH: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
1190
+ DAI: "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1",
1191
+ USDC: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
1192
+ },
1179
1193
  };
1180
1194
  const getCurrencies = (chainId) => {
1181
1195
  const currenciesForChain = currencyAddressesPerChain[chainId];
@@ -1209,16 +1223,18 @@ const currenciesByNetwork = {
1209
1223
  [ChainId.OPTIMISM]: getCurrencies(ChainId.OPTIMISM),
1210
1224
  [ChainId.CELO]: getCurrencies(ChainId.CELO),
1211
1225
  [ChainId.BASE]: getCurrencies(ChainId.BASE),
1226
+ [ChainId.ARBITRUM_SEPOLIA]: getCurrencies(ChainId.ARBITRUM_SEPOLIA),
1227
+ [ChainId.ARBITRUM]: getCurrencies(ChainId.ARBITRUM),
1212
1228
  };
1213
1229
 
1214
1230
  const chainInfo = {
1215
1231
  [ChainId.SEPOLIA]: {
1216
1232
  label: "Sepolia",
1217
- appUrl: "https://sepolia.looksrare.org",
1233
+ appUrl: "https://testnet.hypercerts.org",
1218
1234
  explorer: "https://sepolia.etherscan.io",
1219
- rpcUrl: "https://eth-sepolia.g.alchemy.com/v2",
1220
- baseApiUrl: "https://graphql-sepolia.looksrare.org",
1221
- osApiUrl: "https://testnets-api.opensea.io",
1235
+ rpcUrl: "https://rpc.sepolia.org",
1236
+ baseApiUrl: "https://staging-api.hypercerts.org",
1237
+ osApiUrl: "https://testnets-api.opensea.io"
1222
1238
  },
1223
1239
  [ChainId.HARDHAT]: {
1224
1240
  label: "Hardhat",
@@ -1226,40 +1242,48 @@ const chainInfo = {
1226
1242
  explorer: "https://etherscan.io",
1227
1243
  rpcUrl: "http://127.0.0.1:8545",
1228
1244
  baseApiUrl: "http://localhost:4000",
1229
- osApiUrl: "https://testnets-api.opensea.io",
1245
+ osApiUrl: "https://testnets-api.opensea.io"
1230
1246
  },
1231
1247
  [ChainId.BASE_SEPOLIA]: {
1232
1248
  label: "Base Sepolia",
1233
- appUrl: "https://sepolia.base.looksrare.org",
1249
+ appUrl: "https://testnet.hypercerts.org",
1234
1250
  explorer: "https://sepolia.basescan.org",
1235
1251
  rpcUrl: "https://sepolia.base.org",
1236
- baseApiUrl: "https://api-sepolia.basescan.org/api",
1237
- osApiUrl: "https://testnets-api.opensea.io",
1252
+ baseApiUrl: "https://staging-api.hypercerts.org",
1253
+ osApiUrl: "https://testnets-api.opensea.io"
1254
+ },
1255
+ [ChainId.ARBITRUM_SEPOLIA]: {
1256
+ label: "Arbitrum Sepolia",
1257
+ appUrl: "https://testnet.hypercerts.org",
1258
+ explorer: "https://sepolia.arbiscan.io",
1259
+ rpcUrl: "https://sepolia-rollup.arbitrum.io/rpc",
1260
+ baseApiUrl: "https://staging-api.hypercerts.org",
1261
+ osApiUrl: "https://testnets-api.opensea.io"
1238
1262
  },
1239
1263
  [ChainId.OPTIMISM]: {
1240
1264
  label: "Optimism",
1241
- appUrl: "https://optimism.looksrare.org",
1242
- explorer: "https://optimism.etherscan.io",
1243
- rpcUrl: "https://optimism.g.alchemy.com/v2",
1244
- baseApiUrl: "https://graphql-optimism.looksrare.org",
1245
- osApiUrl: "https://testnets-api.opensea.io",
1265
+ appUrl: "https://app.hypercerts.org",
1266
+ explorer: "https://optimistic.etherscan.io",
1267
+ rpcUrl: "https://opt-mainnet.g.alchemy.com/v2",
1268
+ baseApiUrl: "https://api.hypercerts.org",
1269
+ osApiUrl: "https://testnets-api.opensea.io"
1246
1270
  },
1247
1271
  [ChainId.CELO]: {
1248
1272
  label: "Celo",
1249
- appUrl: "https://celo.looksrare.org",
1273
+ appUrl: "https://app.hypercerts.org",
1250
1274
  explorer: "https://explorer.celo.org",
1251
1275
  rpcUrl: "https://forno.celo.org",
1252
- baseApiUrl: "https://api.celo.looksrare.org",
1253
- osApiUrl: "https://testnets-api.opensea.io",
1276
+ baseApiUrl: "https://api.hypercerts.org",
1277
+ osApiUrl: "https://testnets-api.opensea.io"
1254
1278
  },
1255
1279
  [ChainId.BASE]: {
1256
1280
  label: "Base",
1257
- appUrl: "https://base.looksrare.org",
1258
- explorer: "https://base.etherscan.io",
1259
- rpcUrl: "https://eth-base.g.alchemy.com/v2",
1260
- baseApiUrl: "https://graphql-base.looksrare.org",
1261
- osApiUrl: "https://testnets-api.opensea.io",
1262
- },
1281
+ appUrl: "https://app.hypercerts.org",
1282
+ explorer: "https://basescan.io",
1283
+ rpcUrl: "https://mainnet.base.org",
1284
+ baseApiUrl: "https://api.hypercerts.org",
1285
+ osApiUrl: "https://testnets-api.opensea.io"
1286
+ }
1263
1287
  };
1264
1288
 
1265
1289
  /** Maximum amount of orders in a merkle tree
package/dist/types.d.ts CHANGED
@@ -27,7 +27,9 @@ export declare enum ChainId {
27
27
  HARDHAT = 31337,
28
28
  OPTIMISM = 10,
29
29
  CELO = 42220,
30
- BASE = 8453
30
+ BASE = 8453,
31
+ ARBITRUM_SEPOLIA = 421614,
32
+ ARBITRUM = 42161
31
33
  }
32
34
  /** ChainInfo data used to interact with HypercertExchange ecosystem */
33
35
  export interface ChainInfo {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypercerts-org/marketplace-sdk",
3
- "version": "0.3.34",
3
+ "version": "0.3.36",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -24,6 +24,20 @@
24
24
  "engines": {
25
25
  "node": ">= 16.15.1 <= 20.x"
26
26
  },
27
+ "scripts": {
28
+ "prebuild": "rm -rf ./src/typechain ./src/artifacts cache dist",
29
+ "dev": "rollup -c --bundleConfigAsCjs -w",
30
+ "build:ts": "rollup -c --bundleConfigAsCjs",
31
+ "build:sc": "hardhat compile",
32
+ "build": "yarn build:sc && yarn build:ts",
33
+ "test": "nyc hardhat test",
34
+ "doc": "typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig.build.json",
35
+ "lint": "eslint --max-warnings 0 'src/**/*.{js,ts}'",
36
+ "format:check": "prettier --check 'src/**/*.{js,ts,json,yaml,yml,md}'",
37
+ "format:write": "prettier --write 'src/**/*.{js,ts,json,yaml,yml,md}'",
38
+ "release": "release-it --only-version --set-upstream",
39
+ "supabase:types:hypercerts": "npx supabase gen types typescript --project-id zgvoyckkistexkfdmjqc --schema public > src/utils/hypercerts-database-types.ts"
40
+ },
27
41
  "lint-staged": {
28
42
  "*.{js,jsx,ts,tsx,json,yaml,yml}": "yarn format:write"
29
43
  },
@@ -34,7 +48,7 @@
34
48
  "@0no-co/graphqlsp": "^1.12.8",
35
49
  "@commitlint/cli": "^17.0.2",
36
50
  "@commitlint/config-conventional": "^17.0.2",
37
- "@hypercerts-org/contracts": "2.0.0-alpha.8",
51
+ "@hypercerts-org/contracts": "2.0.0-alpha.9",
38
52
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
39
53
  "@looksrare/contracts-exchange-v1": "^1.2.0",
40
54
  "@looksrare/contracts-exchange-v2": "^0.1.2",
@@ -79,25 +93,11 @@
79
93
  "typescript": "^5.3.3"
80
94
  },
81
95
  "dependencies": {
82
- "@hypercerts-org/sdk": "2.1.1",
96
+ "@hypercerts-org/sdk": "2.2.0-beta.3",
83
97
  "@supabase/supabase-js": "^2.39.2",
84
98
  "@urql/core": "^5.0.4",
85
99
  "ethers": "^6.6.2",
86
100
  "gql.tada": "^1.7.6",
87
101
  "merkletreejs": "^0.3.9"
88
- },
89
- "scripts": {
90
- "prebuild": "rm -rf ./src/typechain ./src/artifacts cache dist",
91
- "dev": "rollup -c --bundleConfigAsCjs -w",
92
- "build:ts": "rollup -c --bundleConfigAsCjs",
93
- "build:sc": "hardhat compile",
94
- "build": "yarn build:sc && yarn build:ts",
95
- "test": "nyc hardhat test",
96
- "doc": "typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig.build.json",
97
- "lint": "eslint --max-warnings 0 'src/**/*.{js,ts}'",
98
- "format:check": "prettier --check 'src/**/*.{js,ts,json,yaml,yml,md}'",
99
- "format:write": "prettier --write 'src/**/*.{js,ts,json,yaml,yml,md}'",
100
- "release": "release-it --only-version --set-upstream",
101
- "supabase:types:hypercerts": "npx supabase gen types typescript --project-id zgvoyckkistexkfdmjqc --schema public > src/utils/hypercerts-database-types.ts"
102
102
  }
103
- }
103
+ }