@zoralabs/protocol-sdk 0.9.2 → 0.9.4-PRE.0

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/.env ADDED
@@ -0,0 +1 @@
1
+ VITE_CONDUIT_KEY=066ae224-b5c3-4086-ac11-a3a44ede9458
@@ -1,18 +1,18 @@
1
-
2
- > @zoralabs/protocol-sdk@0.9.2 build /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-sdk
3
- > pnpm tsup
4
-
5
- CLI Building entry: src/index.ts
6
- CLI Using tsconfig: tsconfig.build.json
7
- CLI tsup v7.3.0
8
- CLI Using tsup config: /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-sdk/tsup.config.ts
9
- CLI Target: es2021
10
- CLI Cleaning output folder
11
- CJS Build start
12
- ESM Build start
13
- CJS dist/index.cjs 200.77 KB
14
- CJS dist/index.cjs.map 403.12 KB
15
- CJS ⚡️ Build success in 343ms
16
- ESM dist/index.js 194.88 KB
17
- ESM dist/index.js.map 401.10 KB
18
- ESM ⚡️ Build success in 342ms
1
+
2
+ > @zoralabs/protocol-sdk@0.9.4-PRE.0 build /Users/danovedzora/source/zora-protocol/packages/protocol-sdk
3
+ > pnpm tsup
4
+
5
+ CLI Building entry: src/index.ts
6
+ CLI Using tsconfig: tsconfig.build.json
7
+ CLI tsup v7.3.0
8
+ CLI Using tsup config: /Users/danovedzora/source/zora-protocol/packages/protocol-sdk/tsup.config.ts
9
+ CLI Target: es2021
10
+ CLI Cleaning output folder
11
+ CJS Build start
12
+ ESM Build start
13
+ CJS dist/index.cjs 200.28 KB
14
+ CJS dist/index.cjs.map 402.68 KB
15
+ CJS ⚡️ Build success in 53ms
16
+ ESM dist/index.js 194.39 KB
17
+ ESM dist/index.js.map 400.66 KB
18
+ ESM ⚡️ Build success in 53ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @zoralabs/protocol-sdk
2
2
 
3
+ ## 0.9.4-PRE.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6fa9e6c3]
8
+ - @zoralabs/protocol-deployments@0.3.1-PRE.0
9
+
10
+ ## 0.9.3
11
+
12
+ ### Patch Changes
13
+
14
+ - 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.
15
+
3
16
  ## 0.9.2
4
17
 
5
18
  ### 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, tokenMetadataURI: string) => Promise<ConcreteSalesConfig>;
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;AAIjB,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AAuCtD,eAAO,MAAM,mBAAmB,SAAU,MAAM,WAsB/C,CAAC;AA0CF,eAAO,MAAM,0BAA0B,gBACxB,qBAAqB,GAAG,SAAS,oBAC5B,MAAM,KACvB,OAAO,CAAC,mBAAmB,CAa7B,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;AA+G/E,wBAAsB,6BAA6B,CACjD,KAAK,EAAE,uBAAuB,GAC5B,aAAa,GAAG;IACd,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,GACF,OAAO,CAAC;IACT,YAAY,EAAE,KAAK,MAAM,EAAE,EAAE,CAAC;IAC9B,QAAQ,EAAE,YAAY,CAAC;IACvB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC,CA2DD;AAED,eAAO,MAAM,2BAA2B,qBACpB,MAAM,GAAG,IAAI,qBACZ,QAAQ,GAAG,SAAS,YAexC,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"}