Skip to content

Commit

Permalink
Merge pull request #243 from blocknative/release/1.9.7
Browse files Browse the repository at this point in the history
Release 1.9.7
  • Loading branch information
aaronbarnardsound committed Dec 2, 2022
2 parents c9f62d1 + cc7b0de commit 025f2e5
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 18 deletions.
6 changes: 3 additions & 3 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "bnc-notify",
"version": "1.9.6",
"version": "1.9.7",
"description": "Show web3 users realtime transaction notifications",
"keywords": [
"ethereum",
Expand Down Expand Up @@ -40,7 +40,7 @@
"eslint-plugin-prettier": "^3.1.3",
"prettier": "^2.0.5",
"rollup": "^2.3.4",
"rollup-plugin-svelte": "^5.0.3",
"rollup-plugin-svelte": "^6.1.1",
"svelte": "^3.12.1",
"svelte-check": "^1.0.0",
"svelte-i18n": "^1.1.2-beta",
Expand All @@ -50,7 +50,7 @@
},
"dependencies": {
"bignumber.js": "^9.0.0",
"bnc-sdk": "4.1.0",
"bnc-sdk": "4.6.3",
"lodash.debounce": "^4.0.8",
"regenerator-runtime": "^0.13.3",
"uuid": "^3.3.3"
Expand Down
10 changes: 6 additions & 4 deletions src/interfaces.ts
Expand Up @@ -2,8 +2,9 @@ import type {
BitcoinTransactionLog,
EthereumTransactionLog,
SDKError,
TransactionHandler
} from 'bnc-sdk/dist/types/src/interfaces'
TransactionHandler,
System
} from 'bnc-sdk'

export interface InitOptions extends ConfigOptions {
dappId?: string
Expand All @@ -20,8 +21,6 @@ export interface TransactionEvent {
transaction: TransactionData
}

export type System = 'bitcoin' | 'ethereum'

export type TransactionEventCode =
| 'txSent'
| 'txPool'
Expand Down Expand Up @@ -120,8 +119,11 @@ export interface AppStore {
version: string
dappId?: string
name?: string
system?: System
networkId?: number
apiUrl?: string
nodeSynced: boolean
transactionHandler?: TransactionHandler
onerror?: ErrorHandler
mobilePosition: 'bottom' | 'top'
desktopPosition: 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight'
Expand Down
3 changes: 1 addition & 2 deletions src/notify.ts
@@ -1,6 +1,6 @@
import 'regenerator-runtime/runtime'
import BlocknativeSdk from 'bnc-sdk'
import type { TransactionHandler } from 'bnc-sdk/dist/types/src/interfaces'
import type { TransactionHandler } from 'bnc-sdk'
import { get } from 'svelte/store'

import uuid from 'uuid/v4'
Expand All @@ -27,7 +27,6 @@ import type {
export {
InitOptions,
TransactionEvent,
System,
TransactionEventCode,
TransactionData,
NotificationType,
Expand Down
29 changes: 20 additions & 9 deletions yarn.lock
Expand Up @@ -2175,12 +2175,13 @@ binary-extensions@^2.0.0:
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.1.0.tgz#30fa40c9e7fe07dbc895678cd287024dea241dd9"
integrity sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==

bnc-sdk@4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/bnc-sdk/-/bnc-sdk-4.1.0.tgz#b7bd280a2e0d218b003ed9d227bcc36593bd6f04"
integrity sha512-gbW5wRLPB7HDzXof5VrkFSDoyfuD2O9K8dOTRQl2OE/HAj3/epKyccQDtWNLNih7t234VM/sv9t6nxqRnNRJmQ==
bnc-sdk@4.6.3:
version "4.6.3"
resolved "https://registry.yarnpkg.com/bnc-sdk/-/bnc-sdk-4.6.3.tgz#c852f091a5e84bb77864543b0775b35ebdbb1724"
integrity sha512-rva+LyJuAm+U6xwZYqlsDxKaMy3EpHBqkOL93UDih7iwXDYnUr87n27pnGCw3B8xRBeRhCBC/VZMuzRFeea/Hw==
dependencies:
crypto-es "^1.2.2"
nanoid "^3.3.1"
rxjs "^6.6.3"
sturdy-websocket "^0.1.12"

Expand Down Expand Up @@ -3510,6 +3511,11 @@ ms@^2.1.1:
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==

nanoid@^3.3.1:
version "3.3.4"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==

nanomatch@^1.2.9:
version "1.2.13"
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
Expand Down Expand Up @@ -3943,10 +3949,10 @@ rimraf@^3.0.2:
dependencies:
glob "^7.1.3"

rollup-plugin-svelte@^5.0.3:
version "5.2.3"
resolved "https://registry.yarnpkg.com/rollup-plugin-svelte/-/rollup-plugin-svelte-5.2.3.tgz#efdc15e3e3fdd9b9f1100fdc14a8532b4e587bc8"
integrity sha512-513vOht9A93OV7fvmpIq8mD1JFgTZ5LidmpULKM2Od9P1l8oI5KwvO32fwCnASuVJS1EkRfvCnS7vKQ8DF4srg==
rollup-plugin-svelte@^6.1.1:
version "6.1.1"
resolved "https://registry.yarnpkg.com/rollup-plugin-svelte/-/rollup-plugin-svelte-6.1.1.tgz#66362cf0500fb7a848283ebcf19d289a60ef0871"
integrity sha512-ijnm0pH1ScrY4uxwaNXBpNVejVzpL2769hIEbAlnqNUWZrffLspu5/k9/l/Wsj3NrEHLQ6wCKGagVJonyfN7ow==
dependencies:
require-relative "^0.8.7"
rollup-pluginutils "^2.8.2"
Expand Down Expand Up @@ -4265,11 +4271,16 @@ svelte2tsx@*:
dedent-js "^1.0.1"
pascal-case "^3.1.1"

svelte@3.24.0, svelte@^3.12.1:
svelte@3.24.0:
version "3.24.0"
resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.24.0.tgz#6565a42c9705796fa66c6abb4fedc09f4323a4a8"
integrity sha512-VFXom6EP2DK83kxy4ZlBbaZklSbZIrpNH3oNXlPYHJUuW4q1OuAr3ZoYbfIVTVYPDgrI7Yq0gQcOhDlAtO4qfw==

svelte@^3.12.1:
version "3.49.0"
resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.49.0.tgz#5baee3c672306de1070c3b7888fc2204e36a4029"
integrity sha512-+lmjic1pApJWDfPCpUUTc1m8azDqYCG1JN9YEngrx/hUyIcFJo6VZhj0A1Ai0wqoHcEIuQy+e9tk+4uDgdtsFA==

table@^6.0.9:
version "6.7.1"
resolved "https://registry.yarnpkg.com/table/-/table-6.7.1.tgz#ee05592b7143831a8c94f3cee6aae4c1ccef33e2"
Expand Down

0 comments on commit 025f2e5

Please sign in to comment.