@meshsdk/core 1.5.5 → 1.5.7-beta.1

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.
@@ -121,6 +121,13 @@ export declare class Transaction {
121
121
  * @returns {Transaction} The transaction.
122
122
  */
123
123
  setTxInputs(inputs: UTxO[]): Transaction;
124
+ /**
125
+ * Sets the reference inputs for the transaction.
126
+ *
127
+ * @param {UTxO[]} inputs The reference inputs to set.
128
+ * @returns {Transaction} The transaction.
129
+ */
130
+ setTxRefInputs(inputs: UTxO[]): Transaction;
124
131
  withdrawRewards(rewardAddress: string, lovelace: string): Transaction;
125
132
  private addBurnInputsIfNeeded;
126
133
  private addChangeAddress;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Rapidly build Web3 apps on the Cardano Blockchain.",
4
4
  "homepage": "https://meshjs.dev",
5
5
  "author": "MeshJS",
6
- "version": "1.5.5",
6
+ "version": "1.5.7-beta.1",
7
7
  "license": "Apache-2.0",
8
8
  "type": "module",
9
9
  "repository": {
@@ -41,37 +41,32 @@
41
41
  "pre-commit": "yarn lint"
42
42
  }
43
43
  },
44
- "browser": {
45
- "@emurgo/cardano-message-signing-nodejs": "@emurgo/cardano-message-signing-browser",
46
- "@emurgo/cardano-serialization-lib-nodejs": "@emurgo/cardano-serialization-lib-browser"
47
- },
48
44
  "exports": {
49
45
  ".": {
50
46
  "import": "./dist/core.js",
51
- "require": "./dist/core.cjs"
47
+ "require": "./dist/core.cjs",
48
+ "types": "./dist/index.d.ts"
52
49
  }
53
50
  },
54
51
  "devDependencies": {
55
- "@rollup/plugin-typescript": "8.4.0",
56
- "@typescript-eslint/eslint-plugin": "5.36.1",
57
- "@typescript-eslint/parser": "5.36.1",
58
- "husky": "8.0.1",
59
- "rollup": "2.79.0",
60
- "tslib": "2.4.0",
61
- "vite": "3.1.4",
52
+ "@rollup/plugin-typescript": "11.1.3",
53
+ "@typescript-eslint/eslint-plugin": "6.5.0",
54
+ "@typescript-eslint/parser": "6.5.0",
55
+ "husky": "8.0.3",
56
+ "rollup": "3.28.1",
57
+ "tslib": "2.6.2",
58
+ "vite": "4.4.9",
62
59
  "vite-plugin-eslint": "1.8.1",
63
- "vite-plugin-wasm": "2.1.0",
64
- "vitest": "0.22.1"
60
+ "vite-plugin-wasm": "3.2.2",
61
+ "vitest": "0.34.3"
65
62
  },
66
63
  "dependencies": {
67
- "@emurgo/cardano-message-signing-browser": "1.0.1",
68
- "@emurgo/cardano-message-signing-nodejs": "1.0.1",
69
- "@emurgo/cardano-serialization-lib-browser": "11.3.0",
70
- "@emurgo/cardano-serialization-lib-nodejs": "11.3.0",
64
+ "@emurgo/cardano-message-signing-asmjs": "1.0.1",
65
+ "@emurgo/cardano-serialization-lib-asmjs": "11.5.0",
71
66
  "@emurgo/cip14-js": "3.0.1",
72
- "axios": "0.27.2",
73
- "bip39": "3.0.4",
74
- "nanoid": "3.3.4",
75
- "zod": "3.19.1"
67
+ "axios": "1.5.0",
68
+ "bip39": "3.1.0",
69
+ "nanoid": "4.0.2",
70
+ "zod": "3.22.2"
76
71
  }
77
- }
72
+ }