Comparing version 50.0.1 to 50.0.2
{ | ||
"name": "monetizer", | ||
"version": "50.0.1", | ||
"version": "50.0.2", | ||
"description": "Web Monetization API for JavaScript", | ||
@@ -14,3 +14,4 @@ "main": "./lib/index.js", | ||
"build": "tsc -b .", | ||
"test": "jest" | ||
"test": "jest", | ||
"lint": "eslint --ext .js,.jsx,.ts,.tsx ." | ||
}, | ||
@@ -31,10 +32,12 @@ "keywords": [ | ||
"volta": { | ||
"extends": "../../package.json" | ||
"extends": "../../volta.json" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^25.2.1", | ||
"typescript": "^4.4.3", | ||
"@types/jest": "^27.0.0", | ||
"eslint": "^8.25.0", | ||
"typescript": "^4.8.4", | ||
"jest": "^27.2.4", | ||
"ts-jest": "^27.0.5" | ||
"ts-jest": "^27.0.5", | ||
"eslint-config-bemuse": "^5.0.0" | ||
} | ||
} |
@@ -45,2 +45,3 @@ export type MonetizationOptions = { | ||
} | ||
update() { | ||
@@ -63,5 +64,7 @@ const active = Array.from(this._active) | ||
} | ||
dispose() { | ||
this._setPointer('') | ||
} | ||
_setPointer(targetPointer: string) { | ||
@@ -68,0 +71,0 @@ if (!targetPointer && this._element) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
18348
6