@terra-money/terra.js
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -30,7 +30,3 @@ /// <reference types="node" /> | ||
export declare class Extension { | ||
static instance: Extension; | ||
private inpageStream; | ||
/** | ||
* Using singleton pattern, hence every instanciation will return same value | ||
*/ | ||
constructor(identifier?: string); | ||
@@ -37,0 +33,0 @@ destroy(): void; |
@@ -59,11 +59,4 @@ "use strict"; | ||
var Extension = /** @class */ (function () { | ||
/** | ||
* Using singleton pattern, hence every instanciation will return same value | ||
*/ | ||
function Extension(identifier) { | ||
if (identifier === void 0) { identifier = 'station'; } | ||
if (Extension.instance) { | ||
return Extension.instance; | ||
} | ||
Extension.instance = this; | ||
this.inpageStream = new PostMessageStream_1.default({ | ||
@@ -70,0 +63,0 @@ name: identifier + ":inpage", |
{ | ||
"name": "@terra-money/terra.js", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "The JavaScript SDK for Terra", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
13304284
516
35182