@eywa-fi/solana-bridge-ts
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "@eywa-fi/solana-bridge-ts", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "", |
@@ -5,2 +5,7 @@ import { web3, BN } from '@project-serum/anchor'; | ||
interface ICancellablePromise<T> extends Promise<T> { | ||
cancel: () => void; | ||
finalize: () => void; | ||
} | ||
declare type SolWeb3PublicKey = web3.PublicKey; | ||
@@ -1393,4 +1398,6 @@ declare type SolSplU64 = u64; | ||
private removeEventListener; | ||
onceEvent(eventName: string): ICancellablePromise<any>; | ||
subscribeSynthesizeRequest(handler: (ev: ISynthesizeRequestEvent) => void): number; | ||
unsubscribeSynthesizeRequest(subscriptionId: number): Promise<void>; | ||
onceSynthesizeRequestEvent(): ICancellablePromise<ISynthesizeRequestEvent>; | ||
subscribeBurnRequest(handler: (ev: IBurnRequestEvent) => void): number; | ||
@@ -1397,0 +1404,0 @@ unsubscribeBurnRequest(subscriptionId: number): Promise<void>; |
Sorry, the diff of this file is too big to display
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
217786
5022