@haechi-labs/face-sdk
Advanced tools
Comparing version 1.6.0 to 1.7.0
import { Blockchain, Env, FaceLoginResponse, JsonRpcRequestPayload, JsonRpcResponsePayload, LoginProviderType, LoginWithIdTokenRequest } from '@haechi-labs/face-types'; | ||
import { BigNumber, ethers } from 'ethers'; | ||
import { Face, Network } from './face'; | ||
import { Iframe } from './iframe'; | ||
declare type InternalParams = { | ||
@@ -12,4 +13,4 @@ face: Face; | ||
export declare class Internal { | ||
private readonly iframe; | ||
private readonly face; | ||
readonly iframe: Iframe; | ||
constructor({ apiKey, network, env, iframeUrl, face }: InternalParams); | ||
@@ -16,0 +17,0 @@ getAddresses(blockchain?: Blockchain): Promise<string[]>; |
@@ -8,4 +8,5 @@ import { Internal } from './internal'; | ||
constructor(internal: Internal); | ||
close(): void; | ||
home(): Promise<void>; | ||
} | ||
//# sourceMappingURL=wallet.d.ts.map |
@@ -11,2 +11,5 @@ "use strict"; | ||
} | ||
close() { | ||
this.internal.iframe.hideOverlay(); | ||
} | ||
async home() { | ||
@@ -13,0 +16,0 @@ return this.internal.openHome(); |
{ | ||
"name": "@haechi-labs/face-sdk", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "", | ||
@@ -19,3 +19,3 @@ "author": "", | ||
"devDependencies": { | ||
"@haechi-labs/face-types": "^1.6.0", | ||
"@haechi-labs/face-types": "^1.7.0", | ||
"@tsconfig/node16": "^1.0.2", | ||
@@ -29,3 +29,3 @@ "@types/node": "^17.0.33", | ||
}, | ||
"gitHead": "48036cdc1a9e6a89c7ac2385961dd96848946a72", | ||
"gitHead": "e28f6f2986a8f7b0552493b499d0037fa6af9475", | ||
"publishConfig": { | ||
@@ -32,0 +32,0 @@ "access": "public" |
@@ -27,4 +27,4 @@ import { | ||
export class Internal { | ||
private readonly iframe: Iframe; | ||
private readonly face: Face; | ||
public readonly iframe: Iframe; | ||
@@ -31,0 +31,0 @@ constructor({ apiKey, network, env, iframeUrl, face }: InternalParams) { |
@@ -13,2 +13,6 @@ import { Internal } from './internal'; | ||
close() { | ||
this.internal.iframe.hideOverlay(); | ||
} | ||
async home() { | ||
@@ -15,0 +19,0 @@ return this.internal.openHome(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
82146
1542