Skip to content

Commit 33720de

Browse files
authored
fix: remove deprecation warning, fix ip supply (#1095)
1 parent efbe845 commit 33720de

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/cli/package/src/errorInterceptor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ interceptor.on("response", ({ request: { url } }) => {
206206
const WARN_MSGS_TO_IGNORE = [
207207
"ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language",
208208
"ExperimentalWarning: Importing JSON modules is an experimental feature",
209+
"DeprecationWarning",
209210
];
210211

211212
/**

packages/cli/package/src/lib/chain/offer/offer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ async function ensureOfferConfigs() {
10591059
supply: (
10601060
await resourceSupplyFromConfigToChain(
10611061
"ip",
1062-
ip.supply.length,
1062+
ipSupplyRes.result.length,
10631063
)
10641064
).supply,
10651065
resourceId: ipId,

0 commit comments

Comments
 (0)