aleph-sdk-ts
Advanced tools
Comparing version 1.0.6 to 1.1.0
import { BaseMessage } from '../messages/message'; | ||
export declare enum ChainType { | ||
Ethereum = "ETH" | ||
Ethereum = "ETH", | ||
Solana = "SOL" | ||
} | ||
@@ -5,0 +6,0 @@ export declare abstract class Account { |
@@ -7,2 +7,3 @@ "use strict"; | ||
ChainType["Ethereum"] = "ETH"; | ||
ChainType["Solana"] = "SOL"; | ||
})(ChainType = exports.ChainType || (exports.ChainType = {})); | ||
@@ -9,0 +10,0 @@ class Account { |
import * as base from './account'; | ||
import * as ethereum from './ethereum'; | ||
export { base, ethereum }; | ||
import * as solana from './solana'; | ||
export { base, ethereum, solana }; |
@@ -22,3 +22,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ethereum = exports.base = void 0; | ||
exports.solana = exports.ethereum = exports.base = void 0; | ||
const base = __importStar(require("./account")); | ||
@@ -28,1 +28,3 @@ exports.base = base; | ||
exports.ethereum = ethereum; | ||
const solana = __importStar(require("./solana")); | ||
exports.solana = solana; |
@@ -1,2 +0,2 @@ | ||
import { Account, ChainType } from '../../accounts/account'; | ||
import { Account } from '../../accounts/account'; | ||
import { BaseMessage, StorageEngine } from '../message'; | ||
@@ -17,3 +17,2 @@ declare type ChainRef = { | ||
ref?: string | ChainRef; | ||
chain: ChainType; | ||
channel: string; | ||
@@ -20,0 +19,0 @@ inlineRequested: boolean; |
@@ -29,3 +29,3 @@ "use strict"; | ||
const message = { | ||
chain: configuration.chain, | ||
chain: configuration.account.GetChain(), | ||
sender: configuration.account.address, | ||
@@ -32,0 +32,0 @@ type: message_1.MessageType.Post, |
{ | ||
"name": "aleph-sdk-ts", | ||
"version": "1.0.6", | ||
"version": "1.1.0", | ||
"description": "Aleph.im Typescript SDK", | ||
@@ -10,4 +10,5 @@ "main": "index.js", | ||
"lint:fix": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix", | ||
"test": "jest", | ||
"pub": "yarn test && yarn lint:fix && yarn build && cp package.json dist/ && cd dist" | ||
"test": "jest --testTimeout=15000", | ||
"pub": "yarn test && yarn lint:fix && yarn build && cp package.json dist/ && cd dist", | ||
"doc": "typedoc" | ||
}, | ||
@@ -18,2 +19,3 @@ "repository": "git@github.com:aleph-im/aleph-sdk-ts.git", | ||
"devDependencies": { | ||
"@solana/web3.js": "^1.29.0", | ||
"@types/jest": "^27.0.1", | ||
@@ -33,2 +35,4 @@ "@types/node": "^16.9.1", | ||
"ts-jest": "^27.0.5", | ||
"tweetnacl": "^1.0.3", | ||
"typedoc": "^0.21.4", | ||
"typescript": "^4.4.3", | ||
@@ -35,0 +39,0 @@ "uuid": "^8.3.2" |
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
35196
37
835
19