@keystonehq/keystone-sdk
Advanced tools
Comparing version 0.0.1 to 0.1.0
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
import { Output } from "../../../protos/btc_transaction_pb.ts"; | ||
import { Output } from "../../../protos/btc_transaction_pb"; | ||
/** | ||
@@ -5,0 +5,0 @@ * @generated from message protoc.BchTx |
"use strict"; | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=.ts" | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=" | ||
// @generated from file chains/keystone/protos/bch_transaction.proto (package protoc, syntax proto3) | ||
@@ -9,3 +9,3 @@ /* eslint-disable */ | ||
const protobuf_1 = require("@bufbuild/protobuf"); | ||
const btc_transaction_pb_ts_1 = require("../../../protos/btc_transaction_pb.ts"); | ||
const btc_transaction_pb_1 = require("../../../protos/btc_transaction_pb"); | ||
/** | ||
@@ -61,3 +61,3 @@ * @generated from message protoc.BchTx | ||
{ no: 4, name: "inputs", kind: "message", T: BchTx_Input, repeated: true }, | ||
{ no: 5, name: "outputs", kind: "message", T: btc_transaction_pb_ts_1.Output, repeated: true }, | ||
{ no: 5, name: "outputs", kind: "message", T: btc_transaction_pb_1.Output, repeated: true }, | ||
]); | ||
@@ -64,0 +64,0 @@ exports.BchTx = BchTx; |
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
import { Output } from "../../../protos/btc_transaction_pb.ts"; | ||
import { Output } from "../../../protos/btc_transaction_pb"; | ||
/** | ||
@@ -5,0 +5,0 @@ * @generated from message protoc.DashTx |
"use strict"; | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=.ts" | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=" | ||
// @generated from file chains/keystone/protos/dash_transaction.proto (package protoc, syntax proto3) | ||
@@ -9,3 +9,3 @@ /* eslint-disable */ | ||
const protobuf_1 = require("@bufbuild/protobuf"); | ||
const btc_transaction_pb_ts_1 = require("../../../protos/btc_transaction_pb.ts"); | ||
const btc_transaction_pb_1 = require("../../../protos/btc_transaction_pb"); | ||
/** | ||
@@ -61,3 +61,3 @@ * @generated from message protoc.DashTx | ||
{ no: 4, name: "inputs", kind: "message", T: DashTx_Input, repeated: true }, | ||
{ no: 5, name: "outputs", kind: "message", T: btc_transaction_pb_ts_1.Output, repeated: true }, | ||
{ no: 5, name: "outputs", kind: "message", T: btc_transaction_pb_1.Output, repeated: true }, | ||
]); | ||
@@ -64,0 +64,0 @@ exports.DashTx = DashTx; |
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
import { Input, Output } from "../../../protos/btc_transaction_pb.ts"; | ||
import { Input, Output } from "../../../protos/btc_transaction_pb"; | ||
/** | ||
@@ -5,0 +5,0 @@ * @generated from message protoc.LtcTx |
"use strict"; | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=.ts" | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=" | ||
// @generated from file chains/keystone/protos/ltc_transaction.proto (package protoc, syntax proto3) | ||
@@ -9,3 +9,3 @@ /* eslint-disable */ | ||
const protobuf_1 = require("@bufbuild/protobuf"); | ||
const btc_transaction_pb_ts_1 = require("../../../protos/btc_transaction_pb.ts"); | ||
const btc_transaction_pb_1 = require("../../../protos/btc_transaction_pb"); | ||
/** | ||
@@ -60,5 +60,5 @@ * @generated from message protoc.LtcTx | ||
{ no: 3, name: "memo", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 4, name: "inputs", kind: "message", T: btc_transaction_pb_ts_1.Input, repeated: true }, | ||
{ no: 5, name: "outputs", kind: "message", T: btc_transaction_pb_ts_1.Output, repeated: true }, | ||
{ no: 4, name: "inputs", kind: "message", T: btc_transaction_pb_1.Input, repeated: true }, | ||
{ no: 5, name: "outputs", kind: "message", T: btc_transaction_pb_1.Output, repeated: true }, | ||
]); | ||
exports.LtcTx = LtcTx; |
"use strict"; | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=.ts" | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=" | ||
// @generated from file chains/tron/protos/contract.proto (package protocol, syntax proto3) | ||
@@ -4,0 +4,0 @@ /* eslint-disable */ |
"use strict"; | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=.ts" | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=" | ||
// @generated from file chains/tron/protos/tron.proto (package protocol, syntax proto3) | ||
@@ -4,0 +4,0 @@ /* eslint-disable */ |
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
import { Payload } from "./payload_pb.ts"; | ||
import { Payload } from "./payload_pb"; | ||
/** | ||
@@ -5,0 +5,0 @@ * @generated from message protoc.Base |
"use strict"; | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=.ts" | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=" | ||
// @generated from file protos/base.proto (package protoc, syntax proto3) | ||
@@ -9,3 +9,3 @@ /* eslint-disable */ | ||
const protobuf_1 = require("@bufbuild/protobuf"); | ||
const payload_pb_ts_1 = require("./payload_pb.ts"); | ||
const payload_pb_1 = require("./payload_pb"); | ||
/** | ||
@@ -53,3 +53,3 @@ * @generated from message protoc.Base | ||
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 3, name: "data", kind: "message", T: payload_pb_ts_1.Payload }, | ||
{ no: 3, name: "data", kind: "message", T: payload_pb_1.Payload }, | ||
{ no: 4, name: "hotVersion", kind: "scalar", T: 5 /* ScalarType.INT32 */, oneof: "Content" }, | ||
@@ -56,0 +56,0 @@ { no: 5, name: "coldVersion", kind: "scalar", T: 5 /* ScalarType.INT32 */, oneof: "Content" }, |
"use strict"; | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=.ts" | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=" | ||
// @generated from file protos/btc_transaction.proto (package protoc, syntax proto3) | ||
@@ -4,0 +4,0 @@ /* eslint-disable */ |
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
import { SignTransaction } from "./transaction_pb.ts"; | ||
import { SignTransactionResult } from "./sign_transaction_result_pb.ts"; | ||
import { SignTransaction } from "./transaction_pb"; | ||
import { SignTransactionResult } from "./sign_transaction_result_pb"; | ||
/** | ||
@@ -6,0 +6,0 @@ * @generated from message protoc.Payload |
"use strict"; | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=.ts" | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=" | ||
// @generated from file protos/payload.proto (package protoc, syntax proto3) | ||
@@ -9,4 +9,4 @@ /* eslint-disable */ | ||
const protobuf_1 = require("@bufbuild/protobuf"); | ||
const transaction_pb_ts_1 = require("./transaction_pb.ts"); | ||
const sign_transaction_result_pb_ts_1 = require("./sign_transaction_result_pb.ts"); | ||
const transaction_pb_1 = require("./transaction_pb"); | ||
const sign_transaction_result_pb_1 = require("./sign_transaction_result_pb"); | ||
/** | ||
@@ -50,4 +50,4 @@ * @generated from message protoc.Payload | ||
{ no: 2, name: "xfp", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 4, name: "signTx", kind: "message", T: transaction_pb_ts_1.SignTransaction, oneof: "Content" }, | ||
{ no: 7, name: "signTxResult", kind: "message", T: sign_transaction_result_pb_ts_1.SignTransactionResult, oneof: "Content" }, | ||
{ no: 4, name: "signTx", kind: "message", T: transaction_pb_1.SignTransaction, oneof: "Content" }, | ||
{ no: 7, name: "signTxResult", kind: "message", T: sign_transaction_result_pb_1.SignTransactionResult, oneof: "Content" }, | ||
]); | ||
@@ -54,0 +54,0 @@ exports.Payload = Payload; |
"use strict"; | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=.ts" | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=" | ||
// @generated from file protos/sign_transaction_result.proto (package protoc, syntax proto3) | ||
@@ -4,0 +4,0 @@ /* eslint-disable */ |
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
import { BchTx } from "../chains/keystone/protos/bch_transaction_pb.ts"; | ||
import { DashTx } from "../chains/keystone/protos/dash_transaction_pb.ts"; | ||
import { LtcTx } from "../chains/keystone/protos/ltc_transaction_pb.ts"; | ||
import { BchTx } from "../chains/keystone/protos/bch_transaction_pb"; | ||
import { DashTx } from "../chains/keystone/protos/dash_transaction_pb"; | ||
import { LtcTx } from "../chains/keystone/protos/ltc_transaction_pb"; | ||
/** | ||
@@ -7,0 +7,0 @@ * @generated from message protoc.SignTransaction |
"use strict"; | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=.ts" | ||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts,import_extension=" | ||
// @generated from file protos/transaction.proto (package protoc, syntax proto3) | ||
@@ -9,5 +9,5 @@ /* eslint-disable */ | ||
const protobuf_1 = require("@bufbuild/protobuf"); | ||
const bch_transaction_pb_ts_1 = require("../chains/keystone/protos/bch_transaction_pb.ts"); | ||
const dash_transaction_pb_ts_1 = require("../chains/keystone/protos/dash_transaction_pb.ts"); | ||
const ltc_transaction_pb_ts_1 = require("../chains/keystone/protos/ltc_transaction_pb.ts"); | ||
const bch_transaction_pb_1 = require("../chains/keystone/protos/bch_transaction_pb"); | ||
const dash_transaction_pb_1 = require("../chains/keystone/protos/dash_transaction_pb"); | ||
const ltc_transaction_pb_1 = require("../chains/keystone/protos/ltc_transaction_pb"); | ||
/** | ||
@@ -66,6 +66,6 @@ * @generated from message protoc.SignTransaction | ||
{ no: 5, name: "decimal", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, | ||
{ no: 10, name: "bchTx", kind: "message", T: bch_transaction_pb_ts_1.BchTx, oneof: "Transaction" }, | ||
{ no: 11, name: "dashTx", kind: "message", T: dash_transaction_pb_ts_1.DashTx, oneof: "Transaction" }, | ||
{ no: 12, name: "ltcTx", kind: "message", T: ltc_transaction_pb_ts_1.LtcTx, oneof: "Transaction" }, | ||
{ no: 10, name: "bchTx", kind: "message", T: bch_transaction_pb_1.BchTx, oneof: "Transaction" }, | ||
{ no: 11, name: "dashTx", kind: "message", T: dash_transaction_pb_1.DashTx, oneof: "Transaction" }, | ||
{ no: 12, name: "ltcTx", kind: "message", T: ltc_transaction_pb_1.LtcTx, oneof: "Transaction" }, | ||
]); | ||
exports.SignTransaction = SignTransaction; |
{ | ||
"name": "@keystonehq/keystone-sdk", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "Keystone SDK", | ||
@@ -34,2 +34,3 @@ "main": "dist/index.js", | ||
"@ngraveio/bc-ur": "^1.1.6", | ||
"@bufbuild/protobuf": "^1.2.0", | ||
"bs58check": "^3.0.1", | ||
@@ -41,3 +42,2 @@ "pako": "^2.1.0", | ||
"@bufbuild/buf": "^1.15.0-1", | ||
"@bufbuild/protobuf": "^1.2.0", | ||
"@bufbuild/protoc-gen-es": "^1.2.0", | ||
@@ -44,0 +44,0 @@ "@types/jest": "^29.5.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16
142523
12
+ Added@bufbuild/protobuf@^1.2.0
+ Added@bufbuild/protobuf@1.10.0(transitive)