@evefrontier/dapp-kit 0.1.6 → 0.1.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/constants.ts +11 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evefrontier/dapp-kit",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "React SDK for EVE Frontier dApps on Sui",
5
5
  "main": "index.ts",
6
6
  "author": "",
@@ -155,31 +155,41 @@ export type TenantId = "utopia" | "stillness" | "testevenet" | "nebula";
155
155
  */
156
156
  export interface TenantConfig {
157
157
  packageId: string;
158
+ evePackageId: string;
158
159
  datahubHost: string;
159
160
  }
160
161
 
161
162
  /** Single source of truth for the four tenants (package ID + datahub host).
163
+ * Corresponds to world contracts v0.0.18
162
164
  * @category Constants
163
165
  */
164
166
  export const TENANT_CONFIG: Record<TenantId, TenantConfig> = {
165
167
  nebula: {
166
168
  packageId:
167
169
  "0x353988e063b4683580e3603dbe9e91fefd8f6a06263a646d43fd3a2f3ef6b8c1",
170
+ evePackageId:
171
+ "0x6407060579895a8b30f7d30d2447046eb80ecc23f0c9acde09222b2a505583c9",
168
172
  datahubHost: "world-api-nebula.test.evefrontier.tech",
169
173
  },
170
174
  testevenet: {
171
175
  packageId:
172
176
  "0x353988e063b4683580e3603dbe9e91fefd8f6a06263a646d43fd3a2f3ef6b8c1",
177
+ evePackageId:
178
+ "0x6407060579895a8b30f7d30d2447046eb80ecc23f0c9acde09222b2a505583c9",
173
179
  datahubHost: "world-api-testevenet.test.evefrontier.tech",
174
180
  },
175
181
  utopia: {
176
182
  packageId:
177
183
  "0xd12a70c74c1e759445d6f209b01d43d860e97fcf2ef72ccbbd00afd828043f75",
184
+ evePackageId:
185
+ "0xf0446b93345c1118f21239d7ac58fb82d005219b2016e100f074e4d17162a465",
178
186
  datahubHost: "world-api-utopia.uat.pub.evefrontier.com",
179
187
  },
180
188
  stillness: {
181
189
  packageId:
182
190
  "0x28b497559d65ab320d9da4613bf2498d5946b2c0ae3597ccfda3072ce127448c",
191
+ evePackageId:
192
+ "0x2a66a89b5a735738ffa4423ac024d23571326163f324f9051557617319e59d60",
183
193
  datahubHost: "world-api-stillness.live.tech.evefrontier.com",
184
194
  },
185
195
  };
@@ -189,7 +199,7 @@ export const TENANT_CONFIG: Record<TenantId, TenantConfig> = {
189
199
  */
190
200
  export const EVE_PACKAGE_ID_BY_TENANT = Object.fromEntries(
191
201
  (Object.entries(TENANT_CONFIG) as [TenantId, TenantConfig][]).map(
192
- ([id, config]) => [id, config.packageId],
202
+ ([id, config]) => [id, config.evePackageId],
193
203
  ),
194
204
  ) as Record<TenantId, string>;
195
205