@lucid-evolution/provider 0.1.85 → 0.1.87
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.cjs +5 -5
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -28,8 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
|
|
30
30
|
// src/index.ts
|
|
31
|
-
var
|
|
32
|
-
__export(
|
|
31
|
+
var index_exports = {};
|
|
32
|
+
__export(index_exports, {
|
|
33
33
|
Blockfrost: () => Blockfrost,
|
|
34
34
|
Emulator: () => Emulator,
|
|
35
35
|
Koios: () => Koios,
|
|
@@ -40,7 +40,7 @@ __export(src_exports, {
|
|
|
40
40
|
generateEmulatorAccount: () => generateEmulatorAccount,
|
|
41
41
|
generateEmulatorAccountFromPrivateKey: () => generateEmulatorAccountFromPrivateKey
|
|
42
42
|
});
|
|
43
|
-
module.exports = __toCommonJS(
|
|
43
|
+
module.exports = __toCommonJS(index_exports);
|
|
44
44
|
|
|
45
45
|
// src/core.ts
|
|
46
46
|
var CML = __toESM(require("@anastasia-labs/cardano-multiplatform-lib-nodejs"), 1);
|
|
@@ -52,7 +52,7 @@ var import_utils2 = require("@lucid-evolution/utils");
|
|
|
52
52
|
// package.json
|
|
53
53
|
var package_default = {
|
|
54
54
|
name: "@lucid-evolution/provider",
|
|
55
|
-
version: "0.1.
|
|
55
|
+
version: "0.1.87",
|
|
56
56
|
description: "",
|
|
57
57
|
main: "./dist/index.js",
|
|
58
58
|
types: "./dist/index.d.ts",
|
|
@@ -1110,7 +1110,7 @@ var import_utils5 = require("@lucid-evolution/utils");
|
|
|
1110
1110
|
var import_utils6 = require("@lucid-evolution/utils");
|
|
1111
1111
|
var import_core_utils2 = require("@lucid-evolution/core-utils");
|
|
1112
1112
|
var import_wallet = require("@lucid-evolution/wallet");
|
|
1113
|
-
|
|
1113
|
+
function generateEmulatorAccountFromPrivateKey(assets) {
|
|
1114
1114
|
const privateKey = CML.PrivateKey.generate_ed25519().to_bech32();
|
|
1115
1115
|
const priv = CML.PrivateKey.from_bech32(privateKey);
|
|
1116
1116
|
const pubKeyHash = priv.to_public().hash();
|
package/dist/index.d.cts
CHANGED
|
@@ -86,7 +86,7 @@ type EmulatorAccount = {
|
|
|
86
86
|
outputData?: OutputData;
|
|
87
87
|
privateKey: string;
|
|
88
88
|
};
|
|
89
|
-
declare function generateEmulatorAccountFromPrivateKey(assets: Assets):
|
|
89
|
+
declare function generateEmulatorAccountFromPrivateKey(assets: Assets): EmulatorAccount;
|
|
90
90
|
declare function generateEmulatorAccount(assets: Assets): EmulatorAccount;
|
|
91
91
|
declare class Emulator implements Provider {
|
|
92
92
|
ledger: Record<FlatOutRef, {
|
package/dist/index.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ type EmulatorAccount = {
|
|
|
86
86
|
outputData?: OutputData;
|
|
87
87
|
privateKey: string;
|
|
88
88
|
};
|
|
89
|
-
declare function generateEmulatorAccountFromPrivateKey(assets: Assets):
|
|
89
|
+
declare function generateEmulatorAccountFromPrivateKey(assets: Assets): EmulatorAccount;
|
|
90
90
|
declare function generateEmulatorAccount(assets: Assets): EmulatorAccount;
|
|
91
91
|
declare class Emulator implements Provider {
|
|
92
92
|
ledger: Record<FlatOutRef, {
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
// package.json
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "@lucid-evolution/provider",
|
|
14
|
-
version: "0.1.
|
|
14
|
+
version: "0.1.87",
|
|
15
15
|
description: "",
|
|
16
16
|
main: "./dist/index.js",
|
|
17
17
|
types: "./dist/index.d.ts",
|
|
@@ -1078,7 +1078,7 @@ import {
|
|
|
1078
1078
|
import { coreToUtxo, getAddressDetails } from "@lucid-evolution/utils";
|
|
1079
1079
|
import { fromHex as fromHex2 } from "@lucid-evolution/core-utils";
|
|
1080
1080
|
import { walletFromSeed } from "@lucid-evolution/wallet";
|
|
1081
|
-
|
|
1081
|
+
function generateEmulatorAccountFromPrivateKey(assets) {
|
|
1082
1082
|
const privateKey = CML.PrivateKey.generate_ed25519().to_bech32();
|
|
1083
1083
|
const priv = CML.PrivateKey.from_bech32(privateKey);
|
|
1084
1084
|
const pubKeyHash = priv.to_public().hash();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucid-evolution/provider",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.87",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"@effect/platform": "^0.71.3",
|
|
31
31
|
"@effect/schema": "^0.68.26",
|
|
32
32
|
"effect": "^3.11.7",
|
|
33
|
-
"@lucid-evolution/core-types": "0.1.
|
|
33
|
+
"@lucid-evolution/core-types": "0.1.22",
|
|
34
34
|
"@lucid-evolution/core-utils": "0.1.16",
|
|
35
|
-
"@lucid-evolution/utils": "0.1.
|
|
36
|
-
"@lucid-evolution/wallet": "0.1.
|
|
35
|
+
"@lucid-evolution/utils": "0.1.64",
|
|
36
|
+
"@lucid-evolution/wallet": "0.1.70"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^20.12.8",
|