roboto-js 1.6.4 → 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +4 -4
- package/dist/esm/index.js +2 -2
- package/package.json +1 -1
- package/src/index.js +2 -2
package/dist/cjs/index.cjs
CHANGED
|
@@ -94,13 +94,13 @@ var Roboto = exports["default"] = /*#__PURE__*/function () {
|
|
|
94
94
|
return this.api.getSiteEnv(key);
|
|
95
95
|
}
|
|
96
96
|
}, {
|
|
97
|
-
key: "
|
|
98
|
-
value: function
|
|
97
|
+
key: "setItem",
|
|
98
|
+
value: function setItem(key, value) {
|
|
99
99
|
this.data[key] = value;
|
|
100
100
|
}
|
|
101
101
|
}, {
|
|
102
|
-
key: "
|
|
103
|
-
value: function
|
|
102
|
+
key: "getItem",
|
|
103
|
+
value: function getItem(key) {
|
|
104
104
|
return this.data[key];
|
|
105
105
|
}
|
|
106
106
|
}, {
|
package/dist/esm/index.js
CHANGED
|
@@ -57,10 +57,10 @@ export default class Roboto {
|
|
|
57
57
|
getSiteEnv(key = null) {
|
|
58
58
|
return this.api.getSiteEnv(key);
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
setItem(key, value) {
|
|
61
61
|
this.data[key] = value;
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
getItem(key) {
|
|
64
64
|
return this.data[key];
|
|
65
65
|
}
|
|
66
66
|
setAppServiceHost(host) {
|
package/package.json
CHANGED