@creately/clipboard
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -24,5 +24,6 @@ "use strict"; | ||
var _this = this; | ||
return clipboardpoly.writeText(data).catch(function () { | ||
_this.storeToLocalClipboard(data); | ||
}); | ||
return clipboardpoly | ||
.readText() | ||
.then(function () { return clipboardpoly.writeText(data); }) | ||
.catch(function () { return _this.storeToLocalClipboard(data); }); | ||
}; | ||
@@ -29,0 +30,0 @@ /** |
{ | ||
"name": "@creately/clipboard", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Clipboard Service which uses system clipboard as primary and local storage as fallback.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
6991
108