@make-software/csprclick-web-sdk
Advanced tools
Comparing version 0.6.1 to 0.7.1
import CasperSigner from "./"; | ||
export default function signerEventHandler(this: CasperSigner, evt: Event): void; |
@@ -0,0 +0,0 @@ import { Provider } from "../types"; |
@@ -0,0 +0,0 @@ import { JsonTypes } from 'typedjson'; |
import CasperWallet from "./"; | ||
export default function walletEventHandler(this: CasperWallet, evt: Event): void; |
@@ -0,0 +0,0 @@ import { Provider } from "../types"; |
@@ -0,0 +0,0 @@ import { SignResult } from "../types"; |
import CasperDash from "./"; | ||
export default function dashEventHandler(this: CasperDash, evt: Event): void; |
@@ -0,0 +0,0 @@ import { Provider } from '../types'; |
@@ -0,0 +0,0 @@ import { JsonTypes } from 'typedjson'; |
import CSPRClickSDK from "./sdk"; | ||
export default function coreMessageHandler(this: CSPRClickSDK, evt: Event): Promise<void>; |
@@ -0,0 +0,0 @@ import { AccountType } from "@make-software/csprclick-types"; |
@@ -0,0 +0,0 @@ export * from './sdk'; |
import { Provider, SendResult, SignResult } from "../types"; | ||
import { Log4TS } from "../log-config"; | ||
import { AccountType } from "@make-software/csprclick-types"; | ||
export default class Ledger extends Provider { | ||
export declare class Ledger extends Provider { | ||
#private; | ||
@@ -36,1 +36,3 @@ protected readonly rpcEndpoint: string; | ||
} | ||
declare const _default: Ledger; | ||
export default _default; |
import { Logger } from "typescript-logging-log4ts-style"; | ||
export type Log4TS = Logger; | ||
export declare function getLogger(name: string): Logger; |
{ | ||
"name": "@make-software/csprclick-web-sdk", | ||
"version": "0.6.1", | ||
"version": "0.7.1", | ||
"type": "module", | ||
@@ -8,4 +8,8 @@ "main": "./index.js", | ||
"build": "tsc -p tsconfig.json && tsc -p tsconfig.lib.json && webpack && gulp -f gulpfile.cjs", | ||
"build:prod": "tsc -p tsconfig.prod.json && tsc -p tsconfig.prod.lib.json && webpack --env production && gulp -f gulpfile.cjs" | ||
"build:prod": "npm run build:prod:tsc && npm run build:prod:webpack && npm run build:prod:webpack-minor && npm run build:prod:gulp", | ||
"build:prod:tsc": "tsc -p tsconfig.prod.json && tsc -p tsconfig.prod.lib.json", | ||
"build:prod:webpack": "webpack --env production", | ||
"build:prod:webpack-minor": "cross-env MINOR=1 webpack --env production", | ||
"build:prod:gulp": "gulp -f gulpfile.cjs" | ||
} | ||
} |
import CSPRClickSDK from "./sdk"; | ||
export default function providerEventHandler(this: CSPRClickSDK, custEvt: Event): void; |
# CSPR.click | ||
Please, check our website at https://cspr.click |
@@ -12,3 +12,2 @@ import SafeEventEmitter from '@metamask/safe-event-emitter'; | ||
appId: string | undefined; | ||
apiKey: string | undefined; | ||
jwt: boolean; | ||
@@ -35,3 +34,4 @@ origin: string; | ||
cancelSignIn(): void; | ||
getProviderInstance(providerName: string): Provider | undefined; | ||
getProviderPrototype(providerName: string): Promise<any>; | ||
getProviderInstance(providerName: string): Promise<Provider | undefined>; | ||
connect(withProvider: string, options?: any): Promise<void>; | ||
@@ -38,0 +38,0 @@ switchAccount(withProvider: string, options?: any): Promise<void>; |
@@ -5,3 +5,3 @@ import { Provider } from '../types'; | ||
import { AccountType } from '@make-software/csprclick-types'; | ||
export default class TorusWallet extends Provider { | ||
export declare class TorusWallet extends Provider { | ||
protected readonly rpcEndpoint: string; | ||
@@ -34,1 +34,3 @@ private static instance; | ||
} | ||
declare const _default: TorusWallet; | ||
export default _default; |
@@ -0,0 +0,0 @@ export declare const SUPPORTED_NETWORKS: { |
@@ -7,3 +7,2 @@ import { AccountType, CONTENT_MODE } from '@make-software/csprclick-types'; | ||
appId: string; | ||
apiKey: string; | ||
contentMode: CONTENT_MODE; | ||
@@ -10,0 +9,0 @@ providers: Array<string>; |
@@ -0,0 +0,0 @@ export declare enum HashLength { |
19793
23
449