@zoralabs/protocol-sdk 0.7.3-SPARKS.0 → 0.7.3
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/.turbo/turbo-build.log +16 -0
- package/CHANGELOG.md +9 -4
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/mints/mints-relay-example.d.ts +4 -4
- package/dist/mints/mints-relay-example.d.ts.map +1 -1
- package/package.json +10 -6
- package/src/create/1155-create-helper.test.ts +325 -0
- package/src/mint/mint-client.test.ts +263 -0
- package/src/mints/mints-contracts.test.ts +529 -0
- package/src/mints/mints-eth-unwrapper-and-caller.test.ts +467 -0
- package/src/mints/mints-eth-unwrapper-and-caller.ts +2 -2
- package/src/mints/mints-queries.test.ts +105 -0
- package/src/mints/mints-relay-example.ts +22 -13
- package/src/premint/premint-client.test.ts +290 -0
- package/src/premint/preminter.test.ts +866 -0
- package/test-integration/setup-test-contracts.ts +96 -0
- package/tsconfig.build.json +10 -0
- package/tsup.config.ts +12 -0
- package/yarn-error.log +0 -8602
package/dist/index.js
CHANGED
|
@@ -2927,7 +2927,7 @@ function decodeCallFailedError(error) {
|
|
|
2927
2927
|
// src/mints/mints-eth-unwrapper-and-caller.ts
|
|
2928
2928
|
import {
|
|
2929
2929
|
iUnwrapAndForwardActionABI,
|
|
2930
|
-
|
|
2930
|
+
mintsEthUnwrapperAndCallerAddress
|
|
2931
2931
|
} from "@zoralabs/protocol-deployments";
|
|
2932
2932
|
import { encodeFunctionData as encodeFunctionData3 } from "viem";
|
|
2933
2933
|
var makeCallWithEthSafeTransferData = ({
|
|
@@ -2955,7 +2955,7 @@ var unwrapAndForwardEthPermitAndTypedDataDefinition = ({
|
|
|
2955
2955
|
tokenIds,
|
|
2956
2956
|
quantities,
|
|
2957
2957
|
safeTransferData: safeTransferData || makeCallWithEthSafeTransferData(callWithEth),
|
|
2958
|
-
to:
|
|
2958
|
+
to: mintsEthUnwrapperAndCallerAddress[chainId],
|
|
2959
2959
|
nonce
|
|
2960
2960
|
});
|
|
2961
2961
|
|