pangea-helpers 1.0.21 → 1.0.23
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/main.cjs.js +17 -0
- package/dist/main.es.js +6121 -0
- package/dist/types/main.d.ts +8 -0
- package/package.json +8 -42
- package/dist/animation-6901ffc4.cjs +0 -1
- package/dist/animation-af1322b3.js +0 -24
- package/dist/animation.cjs.js +0 -1
- package/dist/animation.es.js +0 -4
- package/dist/coin-251f810c.js +0 -1466
- package/dist/coin-fe1122f0.cjs +0 -6
- package/dist/coin.cjs.js +0 -1
- package/dist/coin.es.js +0 -6
- package/dist/datetime-9d947e21.cjs +0 -1
- package/dist/datetime-dbf7ffd9.js +0 -29
- package/dist/datetime.cjs.js +0 -1
- package/dist/datetime.es.js +0 -4
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -16
- package/dist/number-355de26b.js +0 -14
- package/dist/number-48ed1448.cjs +0 -1
- package/dist/number.cjs.js +0 -1
- package/dist/number.es.js +0 -4
- package/dist/object-7a404c78.js +0 -2610
- package/dist/object-d8cc8ea7.cjs +0 -10
- package/dist/object.cjs.js +0 -1
- package/dist/object.es.js +0 -5
- package/dist/token-3d1b3c32.cjs +0 -3
- package/dist/token-3f22e6d2.js +0 -1984
- package/dist/token.cjs.js +0 -1
- package/dist/token.es.js +0 -4
- package/dist/types/animation.d.ts +0 -1
- package/dist/types/coin.d.ts +0 -1
- package/dist/types/datetime.d.ts +0 -1
- package/dist/types/number.d.ts +0 -1
- package/dist/types/object.d.ts +0 -1
- package/dist/types/token.d.ts +0 -1
- package/dist/types/url.d.ts +0 -1
- package/dist/url-4fb04989.cjs +0 -1
- package/dist/url-9802dbc9.js +0 -24
- package/dist/url.cjs.js +0 -1
- package/dist/url.es.js +0 -4
package/dist/token.cjs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./token-3d1b3c32.cjs");exports.Token=e.Token;
|
package/dist/token.es.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './helpers/animation'
|
package/dist/types/coin.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './helpers/coin'
|
package/dist/types/datetime.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './helpers/datetime'
|
package/dist/types/number.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './helpers/number'
|
package/dist/types/object.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './helpers/object'
|
package/dist/types/token.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './helpers/token'
|
package/dist/types/url.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './helpers/url'
|
package/dist/url-4fb04989.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function o(r){try{if(!r)return!1;let t=r;const n=["http://","https://"];for(const e of n)if(r.startsWith(e)){t=r.replace(e,"");break}return t=t.replace(/:(\d*)$/,""),window.location.href.includes(t)}catch{throw Error("wrong environment")}}const l=Object.freeze(Object.defineProperty({__proto__:null,isCurrentUrl:o},Symbol.toStringTag,{value:"Module"}));exports.isCurrentUrl=o;exports.url=l;
|
package/dist/url-9802dbc9.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
function n(t) {
|
|
2
|
-
try {
|
|
3
|
-
if (!t)
|
|
4
|
-
return !1;
|
|
5
|
-
let r = t;
|
|
6
|
-
const e = ["http://", "https://"];
|
|
7
|
-
for (const o of e)
|
|
8
|
-
if (t.startsWith(o)) {
|
|
9
|
-
r = t.replace(o, "");
|
|
10
|
-
break;
|
|
11
|
-
}
|
|
12
|
-
return r = r.replace(/:(\d*)$/, ""), window.location.href.includes(r);
|
|
13
|
-
} catch {
|
|
14
|
-
throw Error("wrong environment");
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
const c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18
|
-
__proto__: null,
|
|
19
|
-
isCurrentUrl: n
|
|
20
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
21
|
-
export {
|
|
22
|
-
n as i,
|
|
23
|
-
c as u
|
|
24
|
-
};
|
package/dist/url.cjs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./url-4fb04989.cjs");exports.isCurrentUrl=r.isCurrentUrl;
|
package/dist/url.es.js
DELETED