@argent/x-shared 1.66.4 → 1.66.6
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/index.cjs +1 -1
- package/dist/index.js +472 -463
- package/dist/src/chains/starknet/address.cjs +1 -1
- package/dist/src/chains/starknet/address.d.ts +19 -0
- package/dist/src/chains/starknet/address.js +81 -48
- package/dist/src/chains/starknet/getAddressFromArgentName.cjs +1 -1
- package/dist/src/chains/starknet/getAddressFromArgentName.js +7 -7
- package/dist/src/chains/starknet/services/address/StarknetAddressService.cjs +1 -1
- package/dist/src/chains/starknet/services/address/StarknetAddressService.js +9 -9
- package/dist/src/features/paymaster/types.cjs +1 -1
- package/dist/src/features/paymaster/types.js +1 -1
- package/dist/src/transactions/getTransactionVersion.cjs +1 -1
- package/dist/src/transactions/getTransactionVersion.js +5 -5
- package/dist/src/transactions/txv3.cjs +1 -1
- package/dist/src/transactions/txv3.js +4 -4
- package/package.json +1 -1
- package/dist/node_modules/.pnpm/i18next@24.2.3_typescript@5.7.3/node_modules/i18next/dist/esm/i18next.cjs +0 -1
- package/dist/node_modules/.pnpm/i18next@24.2.3_typescript@5.7.3/node_modules/i18next/dist/esm/i18next.js +0 -1393
- package/dist/node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/defaults.cjs +0 -1
- package/dist/node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/defaults.js +0 -20
- package/dist/node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/initReactI18next.cjs +0 -1
- package/dist/node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/initReactI18next.js +0 -10
- package/dist/node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/unescape.cjs +0 -1
- package/dist/node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/unescape.js +0 -25
- package/dist/src/locales/en/translation.json.cjs +0 -1
- package/dist/src/locales/en/translation.json.js +0 -7
- package/dist/src/utils/i18n.cjs +0 -1
- package/dist/src/utils/i18n.js +0 -21
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./unescape.cjs");let e={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:s.unescape};const n=(t={})=>{e={...e,...t}};exports.setDefaults=n;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { unescape as s } from "./unescape.js";
|
|
2
|
-
let e = {
|
|
3
|
-
bindI18n: "languageChanged",
|
|
4
|
-
bindI18nStore: "",
|
|
5
|
-
transEmptyNodeValue: "",
|
|
6
|
-
transSupportBasicHtmlNodes: !0,
|
|
7
|
-
transWrapTextNodes: "",
|
|
8
|
-
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
9
|
-
useSuspense: !0,
|
|
10
|
-
unescape: s
|
|
11
|
-
};
|
|
12
|
-
const r = (t = {}) => {
|
|
13
|
-
e = {
|
|
14
|
-
...e,
|
|
15
|
-
...t
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
r as setDefaults
|
|
20
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./defaults.cjs"),i={type:"3rdParty",init(t){e.setDefaults(t.options.react)}};exports.initReactI18next=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,p={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},n=t=>p[t],o=t=>t.replace(e,n);exports.unescape=o;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const p = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, e = {
|
|
2
|
-
"&": "&",
|
|
3
|
-
"&": "&",
|
|
4
|
-
"<": "<",
|
|
5
|
-
"<": "<",
|
|
6
|
-
">": ">",
|
|
7
|
-
">": ">",
|
|
8
|
-
"'": "'",
|
|
9
|
-
"'": "'",
|
|
10
|
-
""": '"',
|
|
11
|
-
""": '"',
|
|
12
|
-
" ": " ",
|
|
13
|
-
" ": " ",
|
|
14
|
-
"©": "©",
|
|
15
|
-
"©": "©",
|
|
16
|
-
"®": "®",
|
|
17
|
-
"®": "®",
|
|
18
|
-
"…": "…",
|
|
19
|
-
"…": "…",
|
|
20
|
-
"/": "/",
|
|
21
|
-
"/": "/"
|
|
22
|
-
}, n = (t) => e[t], o = (t) => t.replace(p, n);
|
|
23
|
-
export {
|
|
24
|
-
o as unescape
|
|
25
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={address:{invalidChecksum:"Invalid address (checksum error)",validationError:"Invalid address (validation error)",invalidFormat:"Invalid address",tooShort:"Addresses must at least be 50 characters long",tooLong:"Addresses must at most be 66 characters long",exactLength:"Address must be 66 characters long"}},a={validation:e};exports.default=a;exports.validation=e;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
const a = { address: { invalidChecksum: "Invalid address (checksum error)", validationError: "Invalid address (validation error)", invalidFormat: "Invalid address", tooShort: "Addresses must at least be 50 characters long", tooLong: "Addresses must at most be 66 characters long", exactLength: "Address must be 66 characters long" } }, s = {
|
|
2
|
-
validation: a
|
|
3
|
-
};
|
|
4
|
-
export {
|
|
5
|
-
s as default,
|
|
6
|
-
a as validation
|
|
7
|
-
};
|
package/dist/src/utils/i18n.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../node_modules/.pnpm/i18next@24.2.3_typescript@5.7.3/node_modules/i18next/dist/esm/i18next.cjs"),t=require("../locales/en/translation.json.cjs"),n=require("../../node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/initReactI18next.cjs"),a={en:{translation:t.default}};e.default.use(n.initReactI18next).init({resources:a,lng:"en",fallbackLng:"en",interpolation:{escapeValue:!1}});exports.default=e.default;
|
package/dist/src/utils/i18n.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import n from "../../node_modules/.pnpm/i18next@24.2.3_typescript@5.7.3/node_modules/i18next/dist/esm/i18next.js";
|
|
2
|
-
import e from "../locales/en/translation.json.js";
|
|
3
|
-
import { initReactI18next as t } from "../../node_modules/.pnpm/react-i18next@15.4.1_i18next@24.2.3_typescript@5.7.3__react@19.1.0/node_modules/react-i18next/dist/es/initReactI18next.js";
|
|
4
|
-
const a = {
|
|
5
|
-
en: {
|
|
6
|
-
translation: e
|
|
7
|
-
}
|
|
8
|
-
};
|
|
9
|
-
n.use(t).init({
|
|
10
|
-
resources: a,
|
|
11
|
-
lng: "en",
|
|
12
|
-
// Default language
|
|
13
|
-
fallbackLng: "en",
|
|
14
|
-
interpolation: {
|
|
15
|
-
escapeValue: !1
|
|
16
|
-
// React already escapes values
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
n as default
|
|
21
|
-
};
|