@zoralabs/protocol-sdk 0.9.2 → 0.9.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 +7 -7
- package/CHANGELOG.md +6 -0
- package/dist/create/minter-defaults.d.ts +1 -1
- package/dist/create/minter-defaults.d.ts.map +1 -1
- package/dist/create/token-setup.d.ts +2 -0
- package/dist/create/token-setup.d.ts.map +1 -1
- package/dist/index.cjs +2094 -2106
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2127 -2139
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/create/1155-create-helper.test.ts +46 -2
- package/src/create/1155-create-helper.ts +6 -1
- package/src/create/minter-defaults.ts +11 -20
- package/src/create/token-setup.ts +5 -1
- package/src/create/types.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @zoralabs/protocol-sdk@0.9.
|
|
2
|
+
> @zoralabs/protocol-sdk@0.9.3 build /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-sdk
|
|
3
3
|
> pnpm tsup
|
|
4
4
|
|
|
5
5
|
CLI Building entry: src/index.ts
|
|
@@ -10,9 +10,9 @@ CLI Target: es2021
|
|
|
10
10
|
CLI Cleaning output folder
|
|
11
11
|
CJS Build start
|
|
12
12
|
ESM Build start
|
|
13
|
-
CJS dist/index.cjs 200.
|
|
14
|
-
CJS dist/index.cjs.map
|
|
15
|
-
CJS ⚡️ Build success in
|
|
16
|
-
ESM dist/index.js 194.
|
|
17
|
-
ESM dist/index.js.map
|
|
18
|
-
ESM ⚡️ Build success in
|
|
13
|
+
CJS dist/index.cjs 200.28 KB
|
|
14
|
+
CJS dist/index.cjs.map 402.68 KB
|
|
15
|
+
CJS ⚡️ Build success in 311ms
|
|
16
|
+
ESM dist/index.js 194.39 KB
|
|
17
|
+
ESM dist/index.js.map 400.66 KB
|
|
18
|
+
ESM ⚡️ Build success in 334ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @zoralabs/protocol-sdk
|
|
2
2
|
|
|
3
|
+
## 0.9.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c75eb65b: Fix bug where for timed sale strategy, sales settings were not being set. For getting default erc20 name, get it from the contract name instead of fetching from ipfs.
|
|
8
|
+
|
|
3
9
|
## 0.9.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SalesConfigParamsType, ConcreteSalesConfig } from "./types";
|
|
2
2
|
export declare const SALE_END_FOREVER = 18446744073709551615n;
|
|
3
3
|
export declare const parseNameIntoSymbol: (name: string) => string;
|
|
4
|
-
export declare const getSalesConfigWithDefaults: (salesConfig: SalesConfigParamsType | undefined,
|
|
4
|
+
export declare const getSalesConfigWithDefaults: (salesConfig: SalesConfigParamsType | undefined, contractName: string) => Promise<ConcreteSalesConfig>;
|
|
5
5
|
//# sourceMappingURL=minter-defaults.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minter-defaults.d.ts","sourceRoot":"","sources":["../../src/create/minter-defaults.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EAMrB,mBAAmB,EAEpB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"minter-defaults.d.ts","sourceRoot":"","sources":["../../src/create/minter-defaults.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EAMrB,mBAAmB,EAEpB,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AAuCtD,eAAO,MAAM,mBAAmB,SAAU,MAAM,WAsB/C,CAAC;AAkCF,eAAO,MAAM,0BAA0B,gBACxB,qBAAqB,GAAG,SAAS,gBAChC,MAAM,KACnB,OAAO,CAAC,mBAAmB,CAa7B,CAAC"}
|
|
@@ -3,6 +3,8 @@ import { ContractProps, CreateNew1155TokenProps, New1155Token } from "./types";
|
|
|
3
3
|
export declare function constructCreate1155TokenCalls(props: CreateNew1155TokenProps & ContractProps & {
|
|
4
4
|
ownerAddress: Address;
|
|
5
5
|
chainId: number;
|
|
6
|
+
} & {
|
|
7
|
+
contractName: string;
|
|
6
8
|
}): Promise<{
|
|
7
9
|
setupActions: `0x${string}`[];
|
|
8
10
|
newToken: New1155Token;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-setup.d.ts","sourceRoot":"","sources":["../../src/create/token-setup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAwC,MAAM,MAAM,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"token-setup.d.ts","sourceRoot":"","sources":["../../src/create/token-setup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAwC,MAAM,MAAM,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAgH/E,wBAAsB,6BAA6B,CACjD,KAAK,EAAE,uBAAuB,GAC5B,aAAa,GAAG;IACd,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG;IACF,YAAY,EAAE,MAAM,CAAC;CACtB,GACF,OAAO,CAAC;IACT,YAAY,EAAE,KAAK,MAAM,EAAE,EAAE,CAAC;IAC9B,QAAQ,EAAE,YAAY,CAAC;IACvB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC,CA4DD;AAED,eAAO,MAAM,2BAA2B,qBACpB,MAAM,GAAG,IAAI,qBACZ,QAAQ,GAAG,SAAS,YAexC,CAAC"}
|