-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad5883a
commit 6f33100
Showing
51 changed files
with
1,477 additions
and
2,020 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.DS_Store | ||
node_modules | ||
dist | ||
settings.json | ||
dist/ | ||
package-lock.json | ||
.rpt2_cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,41 @@ | ||
{ | ||
"name": "bnc-onboard", | ||
"version": "0.2.4", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"description": "Onboard users to web3 by allowing them to select a wallet, get that wallet ready to transact and have access to synced wallet state.", | ||
"keywords": [ | ||
"ethereum", | ||
"web3", | ||
"blocknative", | ||
"wallet" | ||
], | ||
"main": "dist/bnc-onboard.js", | ||
"module": "dist/bnc-onboard.es5.js", | ||
"typings": "dist/src/onboard.d.ts", | ||
"files": [ | ||
"dist/esm/*", | ||
"dist/cjs/*" | ||
"dist" | ||
], | ||
"types": "./types.d.ts", | ||
"author": "Aaron Barnard <[email protected]>", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/blocknative/onboard" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@pyoner/svelte-ts-preprocess": "^1.2.1", | ||
"@types/node": "^12.12.3", | ||
"@joseph184/rollup-plugin-node-builtins": "^2.1.4", | ||
"babel-eslint": "^7.1.1", | ||
"babel-plugin-external-helpers": "^6.18.0", | ||
"rollup": "^1.12.0", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-commonjs": "^10.0.0", | ||
"rollup-plugin-img": "^1.1.0", | ||
"rollup-plugin-json": "^4.0.0", | ||
"rollup-plugin-livereload": "^1.0.0", | ||
"rollup-plugin-node-globals": "^1.4.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-svelte": "^5.0.3", | ||
"rollup-plugin-terser": "^4.0.4", | ||
"svelte": "^3.0.0" | ||
"rollup-plugin-typescript2": "0.21.0", | ||
"svelte": "^3.12.1", | ||
"svelte-i18n": "^1.1.2-beta", | ||
"typescript": "^3.6.4" | ||
}, | ||
"dependencies": { | ||
"@portis/web3": "^2.0.0-beta.42", | ||
|
@@ -36,9 +46,7 @@ | |
"bowser": "^2.5.2", | ||
"fortmatic": "^0.8.2", | ||
"promise-cancelable": "^2.1.1", | ||
"regenerator-runtime": "^0.13.3", | ||
"squarelink": "^1.1.3", | ||
"svelte-i18n": "^1.1.2-beta" | ||
"squarelink": "^1.1.3" | ||
}, | ||
"scripts": { | ||
"build": "rollup -c", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare module "*.png" | ||
declare module "*.svg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
declare module "promise-cancelable" { | ||
export default class Cancelable extends Promise<any> { | ||
constructor(executor: any) | ||
cancel(): any | ||
isFulfilled(): any | ||
isResolved(): any | ||
isRejected(): any | ||
} | ||
} | ||
declare module "@walletconnect/web3-provider" | ||
declare module "squarelink" | ||
declare module "fortmatic" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
declare module 'svelte-i18n' { | ||
interface Options { | ||
fallback: string | ||
navigator: boolean | ||
} | ||
export function getClientLocale(options: Options): string | ||
|
||
export namespace _ { | ||
export function subscribe(dictionary: any): void | ||
} | ||
|
||
export namespace dictionary { | ||
export function set(dictionary: any): void | ||
} | ||
|
||
export namespace locale { | ||
export function set(locale: string): void | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.