@zoralabs/protocol-sdk 0.5.1 → 0.5.3-mints.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoralabs/protocol-sdk",
3
- "version": "0.5.1",
3
+ "version": "0.5.3-mints.0",
4
4
  "repository": "https://github.com/ourzora/zora-protocol",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -16,7 +16,7 @@
16
16
  "lint": "prettier --check 'src/**/*.ts' 'test-integration/**/*.ts'"
17
17
  },
18
18
  "dependencies": {
19
- "@zoralabs/protocol-deployments": "*",
19
+ "@zoralabs/1155-deployments": "0.0.14-mints.0",
20
20
  "abitype": "^0.10.3",
21
21
  "vite": "4.5.0"
22
22
  },
@@ -65,7 +65,7 @@ export const networkConfigByChain: Record<number, NetworkConfig> = {
65
65
  [optimism.id]: {
66
66
  chainId: optimism.id,
67
67
  isTestnet: false,
68
- zoraCollectPathChainName: "opt",
68
+ zoraCollectPathChainName: "oeth",
69
69
  zoraBackendChainName: "OPTIMISM-MAINNET",
70
70
  subgraphUrl: getSubgraph("zora-create-optimism", "stable"),
71
71
  },
@@ -3,7 +3,7 @@ import {
3
3
  zoraCreator1155FactoryImplAddress,
4
4
  zoraCreator1155ImplABI,
5
5
  zoraCreatorFixedPriceSaleStrategyABI,
6
- } from "@zoralabs/protocol-deployments";
6
+ } from "@zoralabs/1155-deployments";
7
7
  import type {
8
8
  Address,
9
9
  Hex,
@@ -2,7 +2,7 @@ import { Address, parseAbi, parseEther } from "viem";
2
2
  import { zora } from "viem/chains";
3
3
  import { describe, expect } from "vitest";
4
4
  import { createMintClient } from "./mint-client";
5
- import { zoraCreator1155ImplABI } from "@zoralabs/protocol-deployments";
5
+ import { zoraCreator1155ImplABI } from "@zoralabs/1155-deployments";
6
6
  import { anvilTest, forkUrls, makeAnvilTest } from "src/anvil";
7
7
 
8
8
  const erc721ABI = parseAbi([
@@ -14,7 +14,7 @@ import { SimulateContractParameters } from "viem";
14
14
  import {
15
15
  zoraCreator1155ImplABI,
16
16
  zoraCreatorFixedPriceSaleStrategyAddress,
17
- } from "@zoralabs/protocol-deployments";
17
+ } from "@zoralabs/1155-deployments";
18
18
  import { GenericTokenIdTypes } from "src/types";
19
19
  import { zora721Abi } from "src/constants";
20
20
 
@@ -1,5 +1,5 @@
1
1
  import { ExtractAbiFunction, AbiParametersToPrimitiveTypes } from "abitype";
2
- import { zoraCreator1155PremintExecutorImplABI as preminterAbi } from "@zoralabs/protocol-deployments";
2
+ import { zoraCreator1155PremintExecutorImplABI as preminterAbi } from "@zoralabs/1155-deployments";
3
3
 
4
4
  type PremintV1Inputs = ExtractAbiFunction<
5
5
  typeof preminterAbi,
@@ -9,7 +9,7 @@ import type {
9
9
  TransactionReceipt,
10
10
  WalletClient,
11
11
  } from "viem";
12
- import { zoraCreator1155PremintExecutorImplABI } from "@zoralabs/protocol-deployments";
12
+ import { zoraCreator1155PremintExecutorImplABI } from "@zoralabs/1155-deployments";
13
13
  import {
14
14
  getPremintCollectionAddress,
15
15
  premintTypedDataDefinition,
@@ -7,7 +7,7 @@ import {
7
7
  zoraCreator1155ImplABI,
8
8
  zoraCreator1155FactoryImplAddress,
9
9
  zoraCreator1155FactoryImplConfig,
10
- } from "@zoralabs/protocol-deployments";
10
+ } from "@zoralabs/1155-deployments";
11
11
 
12
12
  import {
13
13
  premintTypedDataDefinition,
@@ -5,7 +5,7 @@ import {
5
5
  zoraCreator1155PremintExecutorImplABI,
6
6
  zoraCreator1155PremintExecutorImplAddress,
7
7
  zoraCreatorFixedPriceSaleStrategyAddress,
8
- } from "@zoralabs/protocol-deployments";
8
+ } from "@zoralabs/1155-deployments";
9
9
  import {
10
10
  TypedDataDefinition,
11
11
  recoverTypedDataAddress,
package/src/preminter.ts CHANGED
@@ -3,7 +3,7 @@ import { ExtractAbiFunction, AbiParametersToPrimitiveTypes } from "abitype";
3
3
  import {
4
4
  zoraCreator1155PremintExecutorImplABI as preminterAbi,
5
5
  zoraCreator1155PremintExecutorImplAddress,
6
- } from "@zoralabs/protocol-deployments";
6
+ } from "@zoralabs/1155-deployments";
7
7
  import {
8
8
  TypedDataDefinition,
9
9
  recoverTypedDataAddress,