@orbinum/sdk 0.4.0 → 0.4.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.
package/dist/index.d.mts CHANGED
@@ -6,7 +6,7 @@ import { getExtrinsicDecoder } from '@polkadot-api/tx-utils';
6
6
  export { AccountId, Blake2256, Keccak256, Storage, u128, u64 } from '@polkadot-api/substrate-bindings';
7
7
  export { base58 } from '@scure/base';
8
8
  export { getPolkadotSigner } from 'polkadot-api/signer';
9
- export { getPolkadotSignerFromPjs } from 'polkadot-api/pjs-signer';
9
+ export { SignPayload, SignRaw, connectInjectedExtension, getInjectedExtensions, getPolkadotSignerFromPjs } from 'polkadot-api/pjs-signer';
10
10
 
11
11
  type ChainInfo = {
12
12
  name: string;
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import { getExtrinsicDecoder } from '@polkadot-api/tx-utils';
6
6
  export { AccountId, Blake2256, Keccak256, Storage, u128, u64 } from '@polkadot-api/substrate-bindings';
7
7
  export { base58 } from '@scure/base';
8
8
  export { getPolkadotSigner } from 'polkadot-api/signer';
9
- export { getPolkadotSignerFromPjs } from 'polkadot-api/pjs-signer';
9
+ export { SignPayload, SignRaw, connectInjectedExtension, getInjectedExtensions, getPolkadotSignerFromPjs } from 'polkadot-api/pjs-signer';
10
10
 
11
11
  type ChainInfo = {
12
12
  name: string;
package/dist/index.js CHANGED
@@ -53,6 +53,7 @@ __export(index_exports, {
53
53
  bigintTo32LeArr: () => bigintTo32LeArr,
54
54
  bytesToBigintLE: () => bytesToBigintLE,
55
55
  computePathIndices: () => computePathIndices,
56
+ connectInjectedExtension: () => import_pjs_signer.connectInjectedExtension,
56
57
  decodePrecompileCalldata: () => decodePrecompileCalldata,
57
58
  decryptJson: () => decryptJson,
58
59
  deriveOwnerPk: () => deriveOwnerPk,
@@ -70,6 +71,7 @@ __export(index_exports, {
70
71
  formatORB: () => formatORB,
71
72
  fromBase64: () => fromBase64,
72
73
  fromHex: () => fromHex,
74
+ getInjectedExtensions: () => import_pjs_signer.getInjectedExtensions,
73
75
  getPolkadotSigner: () => import_signer.getPolkadotSigner,
74
76
  getPolkadotSignerFromPjs: () => import_pjs_signer.getPolkadotSignerFromPjs,
75
77
  getPrecompileLabel: () => getPrecompileLabel,
@@ -4213,6 +4215,7 @@ var import_polkadot_api4 = require("polkadot-api");
4213
4215
  bigintTo32LeArr,
4214
4216
  bytesToBigintLE,
4215
4217
  computePathIndices,
4218
+ connectInjectedExtension,
4216
4219
  decodePrecompileCalldata,
4217
4220
  decryptJson,
4218
4221
  deriveOwnerPk,
@@ -4230,6 +4233,7 @@ var import_polkadot_api4 = require("polkadot-api");
4230
4233
  formatORB,
4231
4234
  fromBase64,
4232
4235
  fromHex,
4236
+ getInjectedExtensions,
4233
4237
  getPolkadotSigner,
4234
4238
  getPolkadotSignerFromPjs,
4235
4239
  getPrecompileLabel,
package/dist/index.mjs CHANGED
@@ -4083,7 +4083,11 @@ import {
4083
4083
  } from "@polkadot-api/substrate-bindings";
4084
4084
  import { base58 } from "@scure/base";
4085
4085
  import { getPolkadotSigner } from "polkadot-api/signer";
4086
- import { getPolkadotSignerFromPjs } from "polkadot-api/pjs-signer";
4086
+ import {
4087
+ getPolkadotSignerFromPjs,
4088
+ connectInjectedExtension,
4089
+ getInjectedExtensions
4090
+ } from "polkadot-api/pjs-signer";
4087
4091
  import { getSs58AddressInfo } from "polkadot-api";
4088
4092
  export {
4089
4093
  AccountId2 as AccountId,
@@ -4119,6 +4123,7 @@ export {
4119
4123
  bigintTo32LeArr,
4120
4124
  bytesToBigintLE,
4121
4125
  computePathIndices,
4126
+ connectInjectedExtension,
4122
4127
  decodePrecompileCalldata,
4123
4128
  decryptJson,
4124
4129
  deriveOwnerPk,
@@ -4136,6 +4141,7 @@ export {
4136
4141
  formatORB,
4137
4142
  fromBase64,
4138
4143
  fromHex,
4144
+ getInjectedExtensions,
4139
4145
  getPolkadotSigner,
4140
4146
  getPolkadotSignerFromPjs,
4141
4147
  getPrecompileLabel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbinum/sdk",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Official TypeScript SDK for Orbinum.",
5
5
  "author": "Orbinum",
6
6
  "license": "ISC",