@hardkas/core 0.8.2-alpha → 0.8.4-alpha

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/dist/index.d.ts CHANGED
@@ -787,7 +787,7 @@ declare class AppendCoordinator {
787
787
  };
788
788
  }
789
789
 
790
- declare const CURRENT_RUNTIME_VERSION = "0.8.1-alpha";
790
+ declare const CURRENT_RUNTIME_VERSION = "0.8.4-alpha";
791
791
  declare const MIN_SUPPORTED_VERSION = "0.5.0-alpha";
792
792
  interface MigrationStatus {
793
793
  needsMigration: boolean;
@@ -803,15 +803,15 @@ declare class MigrationManager {
803
803
  }
804
804
 
805
805
  declare const SOMPI_PER_KAS = 100000000n;
806
- declare const kaspaNetworkIdSchema: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated"]>;
806
+ declare const kaspaNetworkIdSchema: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
807
807
  type NetworkId = Brand<z.infer<typeof kaspaNetworkIdSchema>, "NetworkId">;
808
808
  declare const executionModeSchema: z.ZodEnum<["simulated", "real", "readonly"]>;
809
809
  type ExecutionMode = z.infer<typeof executionModeSchema>;
810
- declare const artifactTypeSchema: z.ZodEnum<["txPlan", "signedTx", "txReceipt", "txTrace", "snapshot", "workflow.v1"]>;
810
+ declare const artifactTypeSchema: z.ZodEnum<["txPlan", "signedTx", "txReceipt", "txTrace", "snapshot", "workflow.v1", "policy.v1", "networkProfile.v1", "assumption.v1", "migrationReceipt.v1"]>;
811
811
  type ArtifactType = z.infer<typeof artifactTypeSchema>;
812
- declare const NetworkIdSchema: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated"]>;
812
+ declare const NetworkIdSchema: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
813
813
  declare const ExecutionModeSchema: z.ZodEnum<["simulated", "real", "readonly"]>;
814
- declare const ArtifactTypeSchema: z.ZodEnum<["txPlan", "signedTx", "txReceipt", "txTrace", "snapshot", "workflow.v1"]>;
814
+ declare const ArtifactTypeSchema: z.ZodEnum<["txPlan", "signedTx", "txReceipt", "txTrace", "snapshot", "workflow.v1", "policy.v1", "networkProfile.v1", "assumption.v1", "migrationReceipt.v1"]>;
815
815
  declare const hardkasConfigSchema: z.ZodObject<{
816
816
  project: z.ZodObject<{
817
817
  name: z.ZodString;
@@ -824,13 +824,13 @@ declare const hardkasConfigSchema: z.ZodObject<{
824
824
  root: string;
825
825
  }>;
826
826
  network: z.ZodObject<{
827
- id: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated"]>;
827
+ id: z.ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>;
828
828
  rpcUrl: z.ZodOptional<z.ZodString>;
829
829
  }, "strip", z.ZodTypeAny, {
830
- id: "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "simulated";
830
+ id: "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "simulated" | "igra";
831
831
  rpcUrl?: string | undefined;
832
832
  }, {
833
- id: "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "simulated";
833
+ id: "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "simulated" | "igra";
834
834
  rpcUrl?: string | undefined;
835
835
  }>;
836
836
  localnet: z.ZodDefault<z.ZodObject<{
@@ -849,7 +849,7 @@ declare const hardkasConfigSchema: z.ZodObject<{
849
849
  root: string;
850
850
  };
851
851
  network: {
852
- id: "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "simulated";
852
+ id: "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "simulated" | "igra";
853
853
  rpcUrl?: string | undefined;
854
854
  };
855
855
  localnet: {
@@ -862,7 +862,7 @@ declare const hardkasConfigSchema: z.ZodObject<{
862
862
  root: string;
863
863
  };
864
864
  network: {
865
- id: "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "simulated";
865
+ id: "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet" | "simnet-1" | "devnet" | "simulated" | "igra";
866
866
  rpcUrl?: string | undefined;
867
867
  };
868
868
  localnet?: {
package/dist/index.js CHANGED
@@ -956,7 +956,7 @@ async function createSnapshot(options) {
956
956
  const manifest = {
957
957
  snapshotVersion: 1,
958
958
  createdAt: (/* @__PURE__ */ new Date()).toISOString(),
959
- hardkasVersion: "0.8.1-alpha",
959
+ hardkasVersion: "0.8.4-alpha",
960
960
  stateAuthority: "filesystem",
961
961
  projectionAuthority: "sqlite",
962
962
  deterministicScope,
@@ -1205,7 +1205,7 @@ Resolution Command: ${report.exactReplayCommand}`
1205
1205
  // src/migrations.ts
1206
1206
  import fs6 from "fs";
1207
1207
  import path8 from "path";
1208
- var CURRENT_RUNTIME_VERSION = "0.8.1-alpha";
1208
+ var CURRENT_RUNTIME_VERSION = "0.8.4-alpha";
1209
1209
  var MIN_SUPPORTED_VERSION = "0.5.0-alpha";
1210
1210
  var MigrationManager = class {
1211
1211
  static checkVersion(rootDir) {
@@ -1309,7 +1309,8 @@ var kaspaNetworkIdSchema = z.enum([
1309
1309
  "simnet",
1310
1310
  "simnet-1",
1311
1311
  "devnet",
1312
- "simulated"
1312
+ "simulated",
1313
+ "igra"
1313
1314
  ]);
1314
1315
  var executionModeSchema = z.enum(["simulated", "real", "readonly"]);
1315
1316
  var artifactTypeSchema = z.enum([
@@ -1318,7 +1319,11 @@ var artifactTypeSchema = z.enum([
1318
1319
  "txReceipt",
1319
1320
  "txTrace",
1320
1321
  "snapshot",
1321
- "workflow.v1"
1322
+ "workflow.v1",
1323
+ "policy.v1",
1324
+ "networkProfile.v1",
1325
+ "assumption.v1",
1326
+ "migrationReceipt.v1"
1322
1327
  ]);
1323
1328
  var NetworkIdSchema = kaspaNetworkIdSchema;
1324
1329
  var ExecutionModeSchema = executionModeSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hardkas/core",
3
- "version": "0.8.2-alpha",
3
+ "version": "0.8.4-alpha",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",