@hardkas/artifacts 0.8.15-alpha → 0.8.18-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
@@ -2765,6 +2765,10 @@ interface SignedTxArtifact extends BaseArtifact<"signedTx"> {
2765
2765
  signer: string;
2766
2766
  signedAt: string;
2767
2767
  }> | undefined;
2768
+ networkProfileRef?: string | undefined;
2769
+ policyRef?: string | undefined;
2770
+ policyRefs?: string[] | undefined;
2771
+ assumptionRef?: string | undefined;
2768
2772
  metadata?: any | undefined;
2769
2773
  }
2770
2774
  interface TxReceiptArtifact extends BaseArtifact<"txReceipt"> {
@@ -2787,6 +2791,10 @@ interface TxReceiptArtifact extends BaseArtifact<"txReceipt"> {
2787
2791
  tracePath?: string | undefined;
2788
2792
  rpcUrl?: string | undefined;
2789
2793
  sourceSignedId?: ArtifactId | undefined;
2794
+ networkProfileRef?: string | undefined;
2795
+ policyRef?: string | undefined;
2796
+ policyRefs?: string[] | undefined;
2797
+ assumptionRef?: string | undefined;
2790
2798
  metadata?: any | undefined;
2791
2799
  }
2792
2800
  interface SnapshotArtifact extends BaseArtifact<"snapshot"> {
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@hardkas/artifacts",
4
- version: "0.8.15-alpha",
4
+ version: "0.8.17-alpha",
5
5
  type: "module",
6
6
  license: "MIT",
7
7
  author: "Javier Rodriguez",
@@ -2078,6 +2078,7 @@ function createTxPlanArtifact(options) {
2078
2078
  sequence: 1
2079
2079
  },
2080
2080
  ...options.ctx.workflowId ? { workflowId: options.ctx.workflowId } : {},
2081
+ ...options.ctx.utxoSelection ? { metadata: { utxoSelection: options.ctx.utxoSelection } } : {},
2081
2082
  assumptionLevel: options.ctx.assumptionLevel || (options.mode === "simulated" ? "local-simulated" : "local-dev")
2082
2083
  };
2083
2084
  if (options.plan.change) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hardkas/artifacts",
3
- "version": "0.8.15-alpha",
3
+ "version": "0.8.18-alpha",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Javier Rodriguez",
@@ -28,8 +28,8 @@
28
28
  "types": "./dist/index.d.ts",
29
29
  "dependencies": {
30
30
  "zod": "^3.24.1",
31
- "@hardkas/core": "0.8.15-alpha",
32
- "@hardkas/tx-builder": "0.8.15-alpha"
31
+ "@hardkas/core": "0.8.18-alpha",
32
+ "@hardkas/tx-builder": "0.8.18-alpha"
33
33
  },
34
34
  "devDependencies": {
35
35
  "tsup": "^8.3.5",