@credenza3/passport-evm 0.2.7 → 0.2.8
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/{App-Dv3dbG0N.js → App-BRkz5n_k.js} +18 -18
- package/dist/{App-Dv3dbG0N.js.map → App-BRkz5n_k.js.map} +1 -1
- package/dist/{Button-Yya7IK6S.js → Button-CRXa4JlR.js} +4 -4
- package/dist/{Button-Yya7IK6S.js.map → Button-CRXa4JlR.js.map} +1 -1
- package/dist/{ButtonBack-x-yurDMM.js → ButtonBack-Bh0-don6.js} +4 -4
- package/dist/{ButtonBack-x-yurDMM.js.map → ButtonBack-Bh0-don6.js.map} +1 -1
- package/dist/{ButtonLink-DRzJOEAS.js → ButtonLink-L1oTgF2Z.js} +3 -3
- package/dist/{ButtonLink-DRzJOEAS.js.map → ButtonLink-L1oTgF2Z.js.map} +1 -1
- package/dist/{ConfirmAccount-2qFFonvA.js → ConfirmAccount-D7M-8d9F.js} +9 -9
- package/dist/{ConfirmAccount-2qFFonvA.js.map → ConfirmAccount-D7M-8d9F.js.map} +1 -1
- package/dist/{ContentHeader-W_SY1rRj.js → ContentHeader-B-VPZhmc.js} +3 -3
- package/dist/{ContentHeader-W_SY1rRj.js.map → ContentHeader-B-VPZhmc.js.map} +1 -1
- package/dist/{Error-BIjsjuYC.js → Error-BFChqtv8.js} +5 -5
- package/dist/{Error-BIjsjuYC.js.map → Error-BFChqtv8.js.map} +1 -1
- package/dist/{Input-oNFL5LRo.js → Input-BBv5uRtr.js} +4 -4
- package/dist/{Input-oNFL5LRo.js.map → Input-BBv5uRtr.js.map} +1 -1
- package/dist/{Label-CayhFfIY.js → Label-CfeF-XLp.js} +3 -3
- package/dist/{Label-CayhFfIY.js.map → Label-CfeF-XLp.js.map} +1 -1
- package/dist/{Loader-D6SECqqA.js → Loader-BGH5RvtY.js} +3 -3
- package/dist/{Loader-D6SECqqA.js.map → Loader-BGH5RvtY.js.map} +1 -1
- package/dist/{Login-Eiay-N5l.js → Login-B36WhB-k.js} +9 -9
- package/dist/{Login-Eiay-N5l.js.map → Login-B36WhB-k.js.map} +1 -1
- package/dist/{Logout-cWpAl3jC.js → Logout-Ciu350iZ.js} +6 -6
- package/dist/{Logout-cWpAl3jC.js.map → Logout-Ciu350iZ.js.map} +1 -1
- package/dist/{Nav-CQZnfk2h.js → Nav-CSPdwmqX.js} +5 -5
- package/dist/{Nav-CQZnfk2h.js.map → Nav-CSPdwmqX.js.map} +1 -1
- package/dist/{PassportId-DMjewov3.js → PassportId-CKgshhWk.js} +6 -6
- package/dist/{PassportId-DMjewov3.js.map → PassportId-CKgshhWk.js.map} +1 -1
- package/dist/{Payment-CDW8kzM9.js → Payment-DfVmWqSN.js} +10 -10
- package/dist/{Payment-CDW8kzM9.js.map → Payment-DfVmWqSN.js.map} +1 -1
- package/dist/{PaymentResult-vS2suqDY.js → PaymentResult-CFh42cab.js} +4 -4
- package/dist/{PaymentResult-vS2suqDY.js.map → PaymentResult-CFh42cab.js.map} +1 -1
- package/dist/{Profile-D0QtM0C2.js → Profile--OxHnpMm.js} +7 -7
- package/dist/{Profile-D0QtM0C2.js.map → Profile--OxHnpMm.js.map} +1 -1
- package/dist/{ProgressVideo-DGKIM-OI.js → ProgressVideo-BQEjkuPY.js} +5 -5
- package/dist/{ProgressVideo-DGKIM-OI.js.map → ProgressVideo-BQEjkuPY.js.map} +1 -1
- package/dist/{RichAlert-DoIpnk7K.js → RichAlert-DZrU-kpH.js} +6 -6
- package/dist/{RichAlert-DoIpnk7K.js.map → RichAlert-DZrU-kpH.js.map} +1 -1
- package/dist/{Scanner-D4ScVoLG.js → Scanner-BhYQzhWJ.js} +6 -6
- package/dist/{Scanner-D4ScVoLG.js.map → Scanner-BhYQzhWJ.js.map} +1 -1
- package/dist/{SendTokens-8QbeDFLv.js → SendTokens-BTtpqLNx.js} +7 -7
- package/dist/{SendTokens-8QbeDFLv.js.map → SendTokens-BTtpqLNx.js.map} +1 -1
- package/dist/{Sign-6BqSdvyk.js → Sign-Cq3PFgce.js} +6 -6
- package/dist/{Sign-6BqSdvyk.js.map → Sign-Cq3PFgce.js.map} +1 -1
- package/dist/{Stripe.service-CC9v7mRB.js → Stripe.service-CDTwSxEl.js} +3 -3
- package/dist/{Stripe.service-CC9v7mRB.js.map → Stripe.service-CDTwSxEl.js.map} +1 -1
- package/dist/{UpdateProfile-Czd1wjf1.js → UpdateProfile-BQj5ArLZ.js} +10 -10
- package/dist/{UpdateProfile-Czd1wjf1.js.map → UpdateProfile-BQj5ArLZ.js.map} +1 -1
- package/dist/{UserInfo-BE6u0Fzg.js → UserInfo-Dc1aISLT.js} +4 -4
- package/dist/{UserInfo-BE6u0Fzg.js.map → UserInfo-Dc1aISLT.js.map} +1 -1
- package/dist/{Wallet-Bpi-ck7x.js → Wallet-HvYoseFd.js} +7 -7
- package/dist/{Wallet-Bpi-ck7x.js.map → Wallet-HvYoseFd.js.map} +1 -1
- package/dist/{each-B7xFSrKZ.js → each-C618GcTH.js} +2 -2
- package/dist/{each-B7xFSrKZ.js.map → each-C618GcTH.js.map} +1 -1
- package/dist/{html-Dj1g3Ruk.js → html-D3-frDan.js} +3 -3
- package/dist/{html-Dj1g3Ruk.js.map → html-D3-frDan.js.map} +1 -1
- package/dist/{index-client-CYtOXDB_.js → index-client-CnPynulL.js} +2 -2
- package/dist/{index-client-CYtOXDB_.js.map → index-client-CnPynulL.js.map} +1 -1
- package/dist/{index-DSnen-yx.js → index-ttYgNsPa.js} +28 -31
- package/dist/{index-DSnen-yx.js.map → index-ttYgNsPa.js.map} +1 -1
- package/dist/{input-DvC9cidA.js → input-BJxmLqmQ.js} +3 -3
- package/dist/{input-DvC9cidA.js.map → input-BJxmLqmQ.js.map} +1 -1
- package/dist/{legacy-C8qV24oG.js → legacy-rO5ldx3E.js} +2 -2
- package/dist/{legacy-C8qV24oG.js.map → legacy-rO5ldx3E.js.map} +1 -1
- package/dist/passport.es.js +1 -1
- package/dist/passport.umd.js +3 -3
- package/dist/passport.umd.js.map +1 -1
- package/dist/types/Passport.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as u, h as d, a as l, a7 as g, b5 as y, g as h, ai as p, al as b, aj as w, s as R, ab as f } from "./index-
|
|
2
|
-
import { y as m, z as D } from "./legacy-
|
|
1
|
+
import { D as u, h as d, a as l, a7 as g, b5 as y, g as h, ai as p, al as b, aj as w, s as R, ab as f } from "./index-ttYgNsPa.js";
|
|
2
|
+
import { y as m, z as D } from "./legacy-rO5ldx3E.js";
|
|
3
3
|
function j(c, v, i = !1, o = !1, O = !1) {
|
|
4
4
|
var _ = c, t = "";
|
|
5
5
|
u(() => {
|
|
@@ -50,4 +50,4 @@ function j(c, v, i = !1, o = !1, O = !1) {
|
|
|
50
50
|
export {
|
|
51
51
|
j as h
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=html-
|
|
53
|
+
//# sourceMappingURL=html-D3-frDan.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-
|
|
1
|
+
{"version":3,"file":"html-D3-frDan.js","sources":["../../../node_modules/.pnpm/svelte@5.34.7/node_modules/svelte/src/internal/client/dom/blocks/html.js"],"sourcesContent":["/** @import { Effect, TemplateNode } from '#client' */\nimport { FILENAME, HYDRATION_ERROR } from '../../../../constants.js';\nimport { remove_effect_dom, template_effect } from '../../reactivity/effects.js';\nimport { hydrate_next, hydrate_node, hydrating, set_hydrate_node } from '../hydration.js';\nimport { create_fragment_from_html } from '../reconciler.js';\nimport { assign_nodes } from '../template.js';\nimport * as w from '../../warnings.js';\nimport { hash, sanitize_location } from '../../../../utils.js';\nimport { DEV } from 'esm-env';\nimport { dev_current_component_function } from '../../context.js';\nimport { get_first_child, get_next_sibling } from '../operations.js';\nimport { active_effect } from '../../runtime.js';\n\n/**\n * @param {Element} element\n * @param {string | null} server_hash\n * @param {string} value\n */\nfunction check_hash(element, server_hash, value) {\n\tif (!server_hash || server_hash === hash(String(value ?? ''))) return;\n\n\tlet location;\n\n\t// @ts-expect-error\n\tconst loc = element.__svelte_meta?.loc;\n\tif (loc) {\n\t\tlocation = `near ${loc.file}:${loc.line}:${loc.column}`;\n\t} else if (dev_current_component_function?.[FILENAME]) {\n\t\tlocation = `in ${dev_current_component_function[FILENAME]}`;\n\t}\n\n\tw.hydration_html_changed(sanitize_location(location));\n}\n\n/**\n * @param {Element | Text | Comment} node\n * @param {() => string} get_value\n * @param {boolean} [svg]\n * @param {boolean} [mathml]\n * @param {boolean} [skip_warning]\n * @returns {void}\n */\nexport function html(node, get_value, svg = false, mathml = false, skip_warning = false) {\n\tvar anchor = node;\n\n\tvar value = '';\n\n\ttemplate_effect(() => {\n\t\tvar effect = /** @type {Effect} */ (active_effect);\n\n\t\tif (value === (value = get_value() ?? '')) {\n\t\t\tif (hydrating) hydrate_next();\n\t\t\treturn;\n\t\t}\n\n\t\tif (effect.nodes_start !== null) {\n\t\t\tremove_effect_dom(effect.nodes_start, /** @type {TemplateNode} */ (effect.nodes_end));\n\t\t\teffect.nodes_start = effect.nodes_end = null;\n\t\t}\n\n\t\tif (value === '') return;\n\n\t\tif (hydrating) {\n\t\t\t// We're deliberately not trying to repair mismatches between server and client,\n\t\t\t// as it's costly and error-prone (and it's an edge case to have a mismatch anyway)\n\t\t\tvar hash = /** @type {Comment} */ (hydrate_node).data;\n\t\t\tvar next = hydrate_next();\n\t\t\tvar last = next;\n\n\t\t\twhile (next !== null && (next.nodeType !== 8 || /** @type {Comment} */ (next).data !== '')) {\n\t\t\t\tlast = next;\n\t\t\t\tnext = /** @type {TemplateNode} */ (get_next_sibling(next));\n\t\t\t}\n\n\t\t\tif (next === null) {\n\t\t\t\tw.hydration_mismatch();\n\t\t\t\tthrow HYDRATION_ERROR;\n\t\t\t}\n\n\t\t\tif (DEV && !skip_warning) {\n\t\t\t\tcheck_hash(/** @type {Element} */ (next.parentNode), hash, value);\n\t\t\t}\n\n\t\t\tassign_nodes(hydrate_node, last);\n\t\t\tanchor = set_hydrate_node(next);\n\t\t\treturn;\n\t\t}\n\n\t\tvar html = value + '';\n\t\tif (svg) html = `<svg>${html}</svg>`;\n\t\telse if (mathml) html = `<math>${html}</math>`;\n\n\t\t// Don't use create_fragment_with_script_from_html here because that would mean script tags are executed.\n\t\t// @html is basically `.innerHTML = ...` and that doesn't execute scripts either due to security reasons.\n\t\t/** @type {DocumentFragment | Element} */\n\t\tvar node = create_fragment_from_html(html);\n\n\t\tif (svg || mathml) {\n\t\t\tnode = /** @type {Element} */ (get_first_child(node));\n\t\t}\n\n\t\tassign_nodes(\n\t\t\t/** @type {TemplateNode} */ (get_first_child(node)),\n\t\t\t/** @type {TemplateNode} */ (node.lastChild)\n\t\t);\n\n\t\tif (svg || mathml) {\n\t\t\twhile (get_first_child(node)) {\n\t\t\t\tanchor.before(/** @type {Node} */ (get_first_child(node)));\n\t\t\t}\n\t\t} else {\n\t\t\tanchor.before(node);\n\t\t}\n\t});\n}\n"],"names":["html","node","get_value","svg","mathml","skip_warning","anchor","value","template_effect","effect","active_effect","hydrating","hydrate_next","remove_effect_dom","hydrate_node","next","last","get_next_sibling","w.hydration_mismatch","HYDRATION_ERROR","assign_nodes","set_hydrate_node","create_fragment_from_html","get_first_child"],"mappings":";;AA0CO,SAASA,EAAKC,GAAMC,GAAWC,IAAM,IAAOC,IAAS,IAAOC,IAAe,IAAO;AACxF,MAAIC,IAASL,GAETM,IAAQ;AAEZ,EAAAC,EAAgB,MAAM;AACrB,QAAIC;AAAA;AAAA,MAAgCC;AAAA;AAEpC,QAAIH,OAAWA,IAAQL,EAAW,KAAI,KAAK;AAC1C,MAAIS,KAAWC,EAAc;AAC7B;AAAA,IACH;AAOE,QALIH,EAAO,gBAAgB,SAC1BI;AAAA,MAAkBJ,EAAO;AAAA;AAAA,MAA0CA,EAAO;AAAA,IAAW,GACrFA,EAAO,cAAcA,EAAO,YAAY,OAGrCF,MAAU,IAEd;AAAA,UAAII,GAAW;AAGoB,QAACG,EAAc;AAIjD,iBAHIC,IAAOH,EAAc,GACrBI,IAAOD,GAEJA,MAAS,SAASA,EAAK,aAAa;AAAA,QAA6BA,EAAM,SAAS;AACtF,UAAAC,IAAOD,GACPA;AAAA,UAAoCE,EAAiBF,CAAI;AAG1D,YAAIA,MAAS;AACZG,gBAAAA,EAAsB,GAChBC;AAOP,QAAAC,EAAaN,GAAcE,CAAI,GAC/BV,IAASe,EAAiBN,CAAI;AAC9B;AAAA,MACH;AAEE,UAAIf,IAAOO,IAAQ;AACnB,MAAIJ,IAAKH,IAAO,QAAQA,CAAI,WACnBI,MAAQJ,IAAO,SAASA,CAAI;AAKrC,UAAIC,IAAOqB,EAA0BtB,CAAI;AAWzC,WATIG,KAAOC,OACVH;AAAA,MAA+BsB,EAAgBtB,CAAI,IAGpDmB;AAAA;AAAA,QAC8BG,EAAgBtB,CAAI;AAAA;AAAA,QACpBA,EAAK;AAAA,MAClC,GAEGE,KAAOC;AACV,eAAOmB,EAAgBtB,CAAI;AAC1B,UAAAK,EAAO;AAAA;AAAA,YAA4BiB,EAAgBtB,CAAI;AAAA,UAAG;AAAA;AAG3D,QAAAK,EAAO,OAAOL,CAAI;AAAA;AAAA,EAErB,CAAE;AACF;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as t, aE as a, G as o, aS as u } from "./index-
|
|
1
|
+
import { n as t, aE as a, G as o, aS as u } from "./index-ttYgNsPa.js";
|
|
2
2
|
function c(n) {
|
|
3
3
|
throw new Error("https://svelte.dev/e/lifecycle_outside_component");
|
|
4
4
|
}
|
|
@@ -25,4 +25,4 @@ export {
|
|
|
25
25
|
l as a,
|
|
26
26
|
f as o
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=index-client-
|
|
28
|
+
//# sourceMappingURL=index-client-CnPynulL.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-client-CYtOXDB_.js","sources":["../../../node_modules/.pnpm/svelte@5.34.7/node_modules/svelte/src/internal/shared/errors.js","../../../node_modules/.pnpm/svelte@5.34.7/node_modules/svelte/src/index-client.js"],"sourcesContent":["/* This file is generated by scripts/process-messages/index.js. Do not edit! */\n\nimport { DEV } from 'esm-env';\n\n/**\n * Cannot use `{@render children(...)}` if the parent component uses `let:` directives. Consider using a named snippet instead\n * @returns {never}\n */\nexport function invalid_default_snippet() {\n\tif (DEV) {\n\t\tconst error = new Error(`invalid_default_snippet\\nCannot use \\`{@render children(...)}\\` if the parent component uses \\`let:\\` directives. Consider using a named snippet instead\\nhttps://svelte.dev/e/invalid_default_snippet`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/invalid_default_snippet`);\n\t}\n}\n\n/**\n * A snippet function was passed invalid arguments. Snippets should only be instantiated via `{@render ...}`\n * @returns {never}\n */\nexport function invalid_snippet_arguments() {\n\tif (DEV) {\n\t\tconst error = new Error(`invalid_snippet_arguments\\nA snippet function was passed invalid arguments. Snippets should only be instantiated via \\`{@render ...}\\`\\nhttps://svelte.dev/e/invalid_snippet_arguments`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/invalid_snippet_arguments`);\n\t}\n}\n\n/**\n * `%name%(...)` can only be used during component initialisation\n * @param {string} name\n * @returns {never}\n */\nexport function lifecycle_outside_component(name) {\n\tif (DEV) {\n\t\tconst error = new Error(`lifecycle_outside_component\\n\\`${name}(...)\\` can only be used during component initialisation\\nhttps://svelte.dev/e/lifecycle_outside_component`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/lifecycle_outside_component`);\n\t}\n}\n\n/**\n * Attempted to render a snippet without a `{@render}` block. This would cause the snippet code to be stringified instead of its content being rendered to the DOM. To fix this, change `{snippet}` to `{@render snippet()}`.\n * @returns {never}\n */\nexport function snippet_without_render_tag() {\n\tif (DEV) {\n\t\tconst error = new Error(`snippet_without_render_tag\\nAttempted to render a snippet without a \\`{@render}\\` block. This would cause the snippet code to be stringified instead of its content being rendered to the DOM. To fix this, change \\`{snippet}\\` to \\`{@render snippet()}\\`.\\nhttps://svelte.dev/e/snippet_without_render_tag`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/snippet_without_render_tag`);\n\t}\n}\n\n/**\n * `%name%` is not a store with a `subscribe` method\n * @param {string} name\n * @returns {never}\n */\nexport function store_invalid_shape(name) {\n\tif (DEV) {\n\t\tconst error = new Error(`store_invalid_shape\\n\\`${name}\\` is not a store with a \\`subscribe\\` method\\nhttps://svelte.dev/e/store_invalid_shape`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/store_invalid_shape`);\n\t}\n}\n\n/**\n * The `this` prop on `<svelte:element>` must be a string, if defined\n * @returns {never}\n */\nexport function svelte_element_invalid_this_value() {\n\tif (DEV) {\n\t\tconst error = new Error(`svelte_element_invalid_this_value\\nThe \\`this\\` prop on \\`<svelte:element>\\` must be a string, if defined\\nhttps://svelte.dev/e/svelte_element_invalid_this_value`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/svelte_element_invalid_this_value`);\n\t}\n}","/** @import { ComponentContext, ComponentContextLegacy } from '#client' */\n/** @import { EventDispatcher } from './index.js' */\n/** @import { NotFunction } from './internal/types.js' */\nimport { untrack } from './internal/client/runtime.js';\nimport { is_array } from './internal/shared/utils.js';\nimport { user_effect } from './internal/client/index.js';\nimport * as e from './internal/client/errors.js';\nimport { lifecycle_outside_component } from './internal/shared/errors.js';\nimport { legacy_mode_flag } from './internal/flags/index.js';\nimport { component_context } from './internal/client/context.js';\nimport { DEV } from 'esm-env';\n\nif (DEV) {\n\t/**\n\t * @param {string} rune\n\t */\n\tfunction throw_rune_error(rune) {\n\t\tif (!(rune in globalThis)) {\n\t\t\t// TODO if people start adjusting the \"this can contain runes\" config through v-p-s more, adjust this message\n\t\t\t/** @type {any} */\n\t\t\tlet value; // let's hope noone modifies this global, but belts and braces\n\t\t\tObject.defineProperty(globalThis, rune, {\n\t\t\t\tconfigurable: true,\n\t\t\t\t// eslint-disable-next-line getter-return\n\t\t\t\tget: () => {\n\t\t\t\t\tif (value !== undefined) {\n\t\t\t\t\t\treturn value;\n\t\t\t\t\t}\n\n\t\t\t\t\te.rune_outside_svelte(rune);\n\t\t\t\t},\n\t\t\t\tset: (v) => {\n\t\t\t\t\tvalue = v;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tthrow_rune_error('$state');\n\tthrow_rune_error('$effect');\n\tthrow_rune_error('$derived');\n\tthrow_rune_error('$inspect');\n\tthrow_rune_error('$props');\n\tthrow_rune_error('$bindable');\n}\n\n/**\n * `onMount`, like [`$effect`](https://svelte.dev/docs/svelte/$effect), schedules a function to run as soon as the component has been mounted to the DOM.\n * Unlike `$effect`, the provided function only runs once.\n *\n * It must be called during the component's initialisation (but doesn't need to live _inside_ the component;\n * it can be called from an external module). If a function is returned _synchronously_ from `onMount`,\n * it will be called when the component is unmounted.\n *\n * `onMount` functions do not run during [server-side rendering](https://svelte.dev/docs/svelte/svelte-server#render).\n *\n * @template T\n * @param {() => NotFunction<T> | Promise<NotFunction<T>> | (() => any)} fn\n * @returns {void}\n */\nexport function onMount(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('onMount');\n\t}\n\n\tif (legacy_mode_flag && component_context.l !== null) {\n\t\tinit_update_callbacks(component_context).m.push(fn);\n\t} else {\n\t\tuser_effect(() => {\n\t\t\tconst cleanup = untrack(fn);\n\t\t\tif (typeof cleanup === 'function') return /** @type {() => void} */ (cleanup);\n\t\t});\n\t}\n}\n\n/**\n * Schedules a callback to run immediately before the component is unmounted.\n *\n * Out of `onMount`, `beforeUpdate`, `afterUpdate` and `onDestroy`, this is the\n * only one that runs inside a server-side component.\n *\n * @param {() => any} fn\n * @returns {void}\n */\nexport function onDestroy(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('onDestroy');\n\t}\n\n\tonMount(() => () => untrack(fn));\n}\n\n/**\n * @template [T=any]\n * @param {string} type\n * @param {T} [detail]\n * @param {any}params_0\n * @returns {CustomEvent<T>}\n */\nfunction create_custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {\n\treturn new CustomEvent(type, { detail, bubbles, cancelable });\n}\n\n/**\n * Creates an event dispatcher that can be used to dispatch [component events](https://svelte.dev/docs/svelte/legacy-on#Component-events).\n * Event dispatchers are functions that can take two arguments: `name` and `detail`.\n *\n * Component events created with `createEventDispatcher` create a\n * [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent).\n * These events do not [bubble](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#Event_bubbling_and_capture).\n * The `detail` argument corresponds to the [CustomEvent.detail](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail)\n * property and can contain any type of data.\n *\n * The event dispatcher can be typed to narrow the allowed event names and the type of the `detail` argument:\n * ```ts\n * const dispatch = createEventDispatcher<{\n * loaded: null; // does not take a detail argument\n * change: string; // takes a detail argument of type string, which is required\n * optional: number | null; // takes an optional detail argument of type number\n * }>();\n * ```\n *\n * @deprecated Use callback props and/or the `$host()` rune instead — see [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Event-changes-Component-events)\n * @template {Record<string, any>} [EventMap = any]\n * @returns {EventDispatcher<EventMap>}\n */\nexport function createEventDispatcher() {\n\tconst active_component_context = component_context;\n\tif (active_component_context === null) {\n\t\tlifecycle_outside_component('createEventDispatcher');\n\t}\n\n\treturn (type, detail, options) => {\n\t\tconst events = /** @type {Record<string, Function | Function[]>} */ (\n\t\t\tactive_component_context.s.$$events\n\t\t)?.[/** @type {any} */ (type)];\n\n\t\tif (events) {\n\t\t\tconst callbacks = is_array(events) ? events.slice() : [events];\n\t\t\t// TODO are there situations where events could be dispatched\n\t\t\t// in a server (non-DOM) environment?\n\t\t\tconst event = create_custom_event(/** @type {string} */ (type), detail, options);\n\t\t\tfor (const fn of callbacks) {\n\t\t\t\tfn.call(active_component_context.x, event);\n\t\t\t}\n\t\t\treturn !event.defaultPrevented;\n\t\t}\n\n\t\treturn true;\n\t};\n}\n\n// TODO mark beforeUpdate and afterUpdate as deprecated in Svelte 6\n\n/**\n * Schedules a callback to run immediately before the component is updated after any state change.\n *\n * The first time the callback runs will be before the initial `onMount`.\n *\n * In runes mode use `$effect.pre` instead.\n *\n * @deprecated Use [`$effect.pre`](https://svelte.dev/docs/svelte/$effect#$effect.pre) instead\n * @param {() => void} fn\n * @returns {void}\n */\nexport function beforeUpdate(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('beforeUpdate');\n\t}\n\n\tif (component_context.l === null) {\n\t\te.lifecycle_legacy_only('beforeUpdate');\n\t}\n\n\tinit_update_callbacks(component_context).b.push(fn);\n}\n\n/**\n * Schedules a callback to run immediately after the component has been updated.\n *\n * The first time the callback runs will be after the initial `onMount`.\n *\n * In runes mode use `$effect` instead.\n *\n * @deprecated Use [`$effect`](https://svelte.dev/docs/svelte/$effect) instead\n * @param {() => void} fn\n * @returns {void}\n */\nexport function afterUpdate(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('afterUpdate');\n\t}\n\n\tif (component_context.l === null) {\n\t\te.lifecycle_legacy_only('afterUpdate');\n\t}\n\n\tinit_update_callbacks(component_context).a.push(fn);\n}\n\n/**\n * Legacy-mode: Init callbacks object for onMount/beforeUpdate/afterUpdate\n * @param {ComponentContext} context\n */\nfunction init_update_callbacks(context) {\n\tvar l = /** @type {ComponentContextLegacy} */ (context).l;\n\treturn (l.u ??= { a: [], b: [], m: [] });\n}\n\nexport { flushSync } from './internal/client/runtime.js';\nexport { getContext, getAllContexts, hasContext, setContext } from './internal/client/context.js';\nexport { hydrate, mount, unmount } from './internal/client/render.js';\nexport { tick, untrack } from './internal/client/runtime.js';\nexport { createRawSnippet } from './internal/client/dom/blocks/snippet.js';\n"],"names":["lifecycle_outside_component","name","onMount","fn","component_context","legacy_mode_flag","init_update_callbacks","user_effect","cleanup","untrack","onDestroy","context","l"],"mappings":";AAuCO,SAASA,EAA4BC,GAAM;AAOhD,QAAM,IAAI,MAAM,kDAAkD;AAEpE;ACYO,SAASC,EAAQC,GAAI;AAC3B,EAAIC,MAAsB,QACzBJ,EAAqC,GAGlCK,KAAoBD,EAAkB,MAAM,OAC/CE,EAAsBF,CAAiB,EAAE,EAAE,KAAKD,CAAE,IAElDI,EAAY,MAAM;AACX,UAAAC,IAAUC,EAAQN,CAAE;AACtB,QAAA,OAAOK,KAAY,WAAY;AAAA;AAAA,MAAkCA;AAAA;AAAA,EAAA,CACrE;AAEH;AAWO,SAASE,EAAUP,GAAI;AAC7B,EAAIC,MAAsB,QACzBJ,EAAuC,GAGxCE,EAAQ,MAAM,MAAMO,EAAQN,CAAE,CAAC;AAChC;AAkHA,SAASG,EAAsBK,GAAS;AACnC,MAAAC;AAAA;AAAA,IAA2CD,EAAS;AAAA;AAChD,SAAAC,EAAE,MAAFA,EAAE,IAAM,EAAE,GAAG,CAAI,GAAA,GAAG,CAAA,GAAI,GAAG,GAAG;AACvC;","x_google_ignoreList":[0,1]}
|
|
1
|
+
{"version":3,"file":"index-client-CnPynulL.js","sources":["../../../node_modules/.pnpm/svelte@5.34.7/node_modules/svelte/src/internal/shared/errors.js","../../../node_modules/.pnpm/svelte@5.34.7/node_modules/svelte/src/index-client.js"],"sourcesContent":["/* This file is generated by scripts/process-messages/index.js. Do not edit! */\n\nimport { DEV } from 'esm-env';\n\n/**\n * Cannot use `{@render children(...)}` if the parent component uses `let:` directives. Consider using a named snippet instead\n * @returns {never}\n */\nexport function invalid_default_snippet() {\n\tif (DEV) {\n\t\tconst error = new Error(`invalid_default_snippet\\nCannot use \\`{@render children(...)}\\` if the parent component uses \\`let:\\` directives. Consider using a named snippet instead\\nhttps://svelte.dev/e/invalid_default_snippet`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/invalid_default_snippet`);\n\t}\n}\n\n/**\n * A snippet function was passed invalid arguments. Snippets should only be instantiated via `{@render ...}`\n * @returns {never}\n */\nexport function invalid_snippet_arguments() {\n\tif (DEV) {\n\t\tconst error = new Error(`invalid_snippet_arguments\\nA snippet function was passed invalid arguments. Snippets should only be instantiated via \\`{@render ...}\\`\\nhttps://svelte.dev/e/invalid_snippet_arguments`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/invalid_snippet_arguments`);\n\t}\n}\n\n/**\n * `%name%(...)` can only be used during component initialisation\n * @param {string} name\n * @returns {never}\n */\nexport function lifecycle_outside_component(name) {\n\tif (DEV) {\n\t\tconst error = new Error(`lifecycle_outside_component\\n\\`${name}(...)\\` can only be used during component initialisation\\nhttps://svelte.dev/e/lifecycle_outside_component`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/lifecycle_outside_component`);\n\t}\n}\n\n/**\n * Attempted to render a snippet without a `{@render}` block. This would cause the snippet code to be stringified instead of its content being rendered to the DOM. To fix this, change `{snippet}` to `{@render snippet()}`.\n * @returns {never}\n */\nexport function snippet_without_render_tag() {\n\tif (DEV) {\n\t\tconst error = new Error(`snippet_without_render_tag\\nAttempted to render a snippet without a \\`{@render}\\` block. This would cause the snippet code to be stringified instead of its content being rendered to the DOM. To fix this, change \\`{snippet}\\` to \\`{@render snippet()}\\`.\\nhttps://svelte.dev/e/snippet_without_render_tag`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/snippet_without_render_tag`);\n\t}\n}\n\n/**\n * `%name%` is not a store with a `subscribe` method\n * @param {string} name\n * @returns {never}\n */\nexport function store_invalid_shape(name) {\n\tif (DEV) {\n\t\tconst error = new Error(`store_invalid_shape\\n\\`${name}\\` is not a store with a \\`subscribe\\` method\\nhttps://svelte.dev/e/store_invalid_shape`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/store_invalid_shape`);\n\t}\n}\n\n/**\n * The `this` prop on `<svelte:element>` must be a string, if defined\n * @returns {never}\n */\nexport function svelte_element_invalid_this_value() {\n\tif (DEV) {\n\t\tconst error = new Error(`svelte_element_invalid_this_value\\nThe \\`this\\` prop on \\`<svelte:element>\\` must be a string, if defined\\nhttps://svelte.dev/e/svelte_element_invalid_this_value`);\n\n\t\terror.name = 'Svelte error';\n\t\tthrow error;\n\t} else {\n\t\tthrow new Error(`https://svelte.dev/e/svelte_element_invalid_this_value`);\n\t}\n}","/** @import { ComponentContext, ComponentContextLegacy } from '#client' */\n/** @import { EventDispatcher } from './index.js' */\n/** @import { NotFunction } from './internal/types.js' */\nimport { untrack } from './internal/client/runtime.js';\nimport { is_array } from './internal/shared/utils.js';\nimport { user_effect } from './internal/client/index.js';\nimport * as e from './internal/client/errors.js';\nimport { lifecycle_outside_component } from './internal/shared/errors.js';\nimport { legacy_mode_flag } from './internal/flags/index.js';\nimport { component_context } from './internal/client/context.js';\nimport { DEV } from 'esm-env';\n\nif (DEV) {\n\t/**\n\t * @param {string} rune\n\t */\n\tfunction throw_rune_error(rune) {\n\t\tif (!(rune in globalThis)) {\n\t\t\t// TODO if people start adjusting the \"this can contain runes\" config through v-p-s more, adjust this message\n\t\t\t/** @type {any} */\n\t\t\tlet value; // let's hope noone modifies this global, but belts and braces\n\t\t\tObject.defineProperty(globalThis, rune, {\n\t\t\t\tconfigurable: true,\n\t\t\t\t// eslint-disable-next-line getter-return\n\t\t\t\tget: () => {\n\t\t\t\t\tif (value !== undefined) {\n\t\t\t\t\t\treturn value;\n\t\t\t\t\t}\n\n\t\t\t\t\te.rune_outside_svelte(rune);\n\t\t\t\t},\n\t\t\t\tset: (v) => {\n\t\t\t\t\tvalue = v;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tthrow_rune_error('$state');\n\tthrow_rune_error('$effect');\n\tthrow_rune_error('$derived');\n\tthrow_rune_error('$inspect');\n\tthrow_rune_error('$props');\n\tthrow_rune_error('$bindable');\n}\n\n/**\n * `onMount`, like [`$effect`](https://svelte.dev/docs/svelte/$effect), schedules a function to run as soon as the component has been mounted to the DOM.\n * Unlike `$effect`, the provided function only runs once.\n *\n * It must be called during the component's initialisation (but doesn't need to live _inside_ the component;\n * it can be called from an external module). If a function is returned _synchronously_ from `onMount`,\n * it will be called when the component is unmounted.\n *\n * `onMount` functions do not run during [server-side rendering](https://svelte.dev/docs/svelte/svelte-server#render).\n *\n * @template T\n * @param {() => NotFunction<T> | Promise<NotFunction<T>> | (() => any)} fn\n * @returns {void}\n */\nexport function onMount(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('onMount');\n\t}\n\n\tif (legacy_mode_flag && component_context.l !== null) {\n\t\tinit_update_callbacks(component_context).m.push(fn);\n\t} else {\n\t\tuser_effect(() => {\n\t\t\tconst cleanup = untrack(fn);\n\t\t\tif (typeof cleanup === 'function') return /** @type {() => void} */ (cleanup);\n\t\t});\n\t}\n}\n\n/**\n * Schedules a callback to run immediately before the component is unmounted.\n *\n * Out of `onMount`, `beforeUpdate`, `afterUpdate` and `onDestroy`, this is the\n * only one that runs inside a server-side component.\n *\n * @param {() => any} fn\n * @returns {void}\n */\nexport function onDestroy(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('onDestroy');\n\t}\n\n\tonMount(() => () => untrack(fn));\n}\n\n/**\n * @template [T=any]\n * @param {string} type\n * @param {T} [detail]\n * @param {any}params_0\n * @returns {CustomEvent<T>}\n */\nfunction create_custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {\n\treturn new CustomEvent(type, { detail, bubbles, cancelable });\n}\n\n/**\n * Creates an event dispatcher that can be used to dispatch [component events](https://svelte.dev/docs/svelte/legacy-on#Component-events).\n * Event dispatchers are functions that can take two arguments: `name` and `detail`.\n *\n * Component events created with `createEventDispatcher` create a\n * [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent).\n * These events do not [bubble](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#Event_bubbling_and_capture).\n * The `detail` argument corresponds to the [CustomEvent.detail](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail)\n * property and can contain any type of data.\n *\n * The event dispatcher can be typed to narrow the allowed event names and the type of the `detail` argument:\n * ```ts\n * const dispatch = createEventDispatcher<{\n * loaded: null; // does not take a detail argument\n * change: string; // takes a detail argument of type string, which is required\n * optional: number | null; // takes an optional detail argument of type number\n * }>();\n * ```\n *\n * @deprecated Use callback props and/or the `$host()` rune instead — see [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Event-changes-Component-events)\n * @template {Record<string, any>} [EventMap = any]\n * @returns {EventDispatcher<EventMap>}\n */\nexport function createEventDispatcher() {\n\tconst active_component_context = component_context;\n\tif (active_component_context === null) {\n\t\tlifecycle_outside_component('createEventDispatcher');\n\t}\n\n\treturn (type, detail, options) => {\n\t\tconst events = /** @type {Record<string, Function | Function[]>} */ (\n\t\t\tactive_component_context.s.$$events\n\t\t)?.[/** @type {any} */ (type)];\n\n\t\tif (events) {\n\t\t\tconst callbacks = is_array(events) ? events.slice() : [events];\n\t\t\t// TODO are there situations where events could be dispatched\n\t\t\t// in a server (non-DOM) environment?\n\t\t\tconst event = create_custom_event(/** @type {string} */ (type), detail, options);\n\t\t\tfor (const fn of callbacks) {\n\t\t\t\tfn.call(active_component_context.x, event);\n\t\t\t}\n\t\t\treturn !event.defaultPrevented;\n\t\t}\n\n\t\treturn true;\n\t};\n}\n\n// TODO mark beforeUpdate and afterUpdate as deprecated in Svelte 6\n\n/**\n * Schedules a callback to run immediately before the component is updated after any state change.\n *\n * The first time the callback runs will be before the initial `onMount`.\n *\n * In runes mode use `$effect.pre` instead.\n *\n * @deprecated Use [`$effect.pre`](https://svelte.dev/docs/svelte/$effect#$effect.pre) instead\n * @param {() => void} fn\n * @returns {void}\n */\nexport function beforeUpdate(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('beforeUpdate');\n\t}\n\n\tif (component_context.l === null) {\n\t\te.lifecycle_legacy_only('beforeUpdate');\n\t}\n\n\tinit_update_callbacks(component_context).b.push(fn);\n}\n\n/**\n * Schedules a callback to run immediately after the component has been updated.\n *\n * The first time the callback runs will be after the initial `onMount`.\n *\n * In runes mode use `$effect` instead.\n *\n * @deprecated Use [`$effect`](https://svelte.dev/docs/svelte/$effect) instead\n * @param {() => void} fn\n * @returns {void}\n */\nexport function afterUpdate(fn) {\n\tif (component_context === null) {\n\t\tlifecycle_outside_component('afterUpdate');\n\t}\n\n\tif (component_context.l === null) {\n\t\te.lifecycle_legacy_only('afterUpdate');\n\t}\n\n\tinit_update_callbacks(component_context).a.push(fn);\n}\n\n/**\n * Legacy-mode: Init callbacks object for onMount/beforeUpdate/afterUpdate\n * @param {ComponentContext} context\n */\nfunction init_update_callbacks(context) {\n\tvar l = /** @type {ComponentContextLegacy} */ (context).l;\n\treturn (l.u ??= { a: [], b: [], m: [] });\n}\n\nexport { flushSync } from './internal/client/runtime.js';\nexport { getContext, getAllContexts, hasContext, setContext } from './internal/client/context.js';\nexport { hydrate, mount, unmount } from './internal/client/render.js';\nexport { tick, untrack } from './internal/client/runtime.js';\nexport { createRawSnippet } from './internal/client/dom/blocks/snippet.js';\n"],"names":["lifecycle_outside_component","name","onMount","fn","component_context","legacy_mode_flag","init_update_callbacks","user_effect","cleanup","untrack","onDestroy","context","l"],"mappings":";AAuCO,SAASA,EAA4BC,GAAM;AAOhD,QAAM,IAAI,MAAM,kDAAkD;AAEpE;ACYO,SAASC,EAAQC,GAAI;AAC3B,EAAIC,MAAsB,QACzBJ,EAAqC,GAGlCK,KAAoBD,EAAkB,MAAM,OAC/CE,EAAsBF,CAAiB,EAAE,EAAE,KAAKD,CAAE,IAElDI,EAAY,MAAM;AACX,UAAAC,IAAUC,EAAQN,CAAE;AACtB,QAAA,OAAOK,KAAY,WAAY;AAAA;AAAA,MAAkCA;AAAA;AAAA,EAAA,CACrE;AAEH;AAWO,SAASE,EAAUP,GAAI;AAC7B,EAAIC,MAAsB,QACzBJ,EAAuC,GAGxCE,EAAQ,MAAM,MAAMO,EAAQN,CAAE,CAAC;AAChC;AAkHA,SAASG,EAAsBK,GAAS;AACnC,MAAAC;AAAA;AAAA,IAA2CD,EAAS;AAAA;AAChD,SAAAC,EAAE,MAAFA,EAAE,IAAM,EAAE,GAAG,CAAI,GAAA,GAAG,CAAA,GAAI,GAAG,GAAG;AACvC;","x_google_ignoreList":[0,1]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const CS = "0.2.
|
|
1
|
+
const CS = "0.2.8", IS = {
|
|
2
2
|
version: CS
|
|
3
3
|
}, D2 = !1;
|
|
4
4
|
var kS = Array.isArray, RS = Array.prototype.indexOf, aG = Array.from, cG = Object.defineProperty, sh = Object.getOwnPropertyDescriptor, OS = Object.getOwnPropertyDescriptors, TS = Object.prototype, xS = Array.prototype, c_ = Object.getPrototypeOf, F2 = Object.isExtensible;
|
|
@@ -18615,7 +18615,7 @@ bw.write = function(e, t, r, n, i, s) {
|
|
|
18615
18615
|
}
|
|
18616
18616
|
})(aA);
|
|
18617
18617
|
const no = aA.Buffer;
|
|
18618
|
-
var cm = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
18618
|
+
var cm = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f6376285-791f-4512-9f57-b38ea7aefea1", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", STATS_TRP: "true", USER: "runner", npm_config_always_auth: "true", npm_config_user_agent: "pnpm/10.12.3 npm/? node/v20.19.2 linux x64", CI: "true", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_f6376285-791f-4512-9f57-b38ea7aefea1", PIPX_HOME: "/opt/pipx", RUNNER_ENVIRONMENT: "github-hosted", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", HOME: "/home/runner", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", RUNNER_TEMP: "/home/runner/work/_temp", npm_package_json: "/home/runner/work/passport/passport/packages/passport-evm/package.json", GITHUB_REPOSITORY_OWNER: "credenza-web3", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", npm_package_engines_node: ">=20.10.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.1.13356709", GITHUB_RETENTION_DAYS: "90", GRADLE_HOME: "/usr/share/gradle-8.14.2", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GITHUB_REPOSITORY_OWNER_ID: "93208388", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", npm_config__credenza3_registry: "https://registry.npmjs.org/", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "711", npm_config_engine_strict: "true", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", ImageVersion: "20250622.1.0", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", RUNNER_OS: "Linux", SWIFT_PATH: "/usr/share/swift/usr/bin", pnpm_config_verify_deps_before_run: "false", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GITHUB_WORKFLOW: "Publish @credenza3/passport-evm", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.10/x64", JOURNAL_STREAM: "9:5912", RUNNER_USER: "runner", STATS_V3PS: "true", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.4/x64", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "15899260420", STATS_D: "true", STATS_VMFE: "true", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_BASE_REF: "", GITHUB_REF_TYPE: "branch", GITHUB_WORKFLOW_SHA: "6bc73a5f892656e696a48e76140a1590c5b22a41", ImageOS: "ubuntu24", GITHUB_ACTION_REPOSITORY: "", GITHUB_WORKFLOW_REF: "credenza-web3/passport/.github/workflows/publish-evm.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/passport/passport/packages/passport-evm/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/passport/passport/node_modules/.bin:/home/runner/work/passport/passport/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/passport/passport/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.19.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", INVOCATION_ID: "0f18c7bbfa2e49d4abf444f0b522612d", NODE: "/opt/hostedtoolcache/node/20.19.2/x64/bin/node", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", RUNNER_TRACKING_ID: "github_c0975366-d7dd-400a-8b86-32fc3439dadc", TURBO_HASH: "31dd050eede6ff29", npm_package_name: "@credenza3/passport-evm", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GITHUB_ACTION: "__run_2", GITHUB_RUN_NUMBER: "59", GITHUB_TRIGGERING_ACTOR: "mikeavvad", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "credenza-web3/passport", RUNNER_NAME: "GitHub Actions 1000000345", STATS_D_D: "true", STATS_VMD: "true", XDG_CONFIG_HOME: "/home/runner/.config", npm_lifecycle_script: "vite build", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", DEBIAN_FRONTEND: "noninteractive", GITHUB_ACTION_REF: "", STATS_UE: "true", GITHUB_ACTIONS: "true", GITHUB_REPOSITORY_ID: "493155814", NODE_PATH: "/home/runner/work/passport/passport/node_modules/.pnpm/vite@6.3.5_@types+node@24.0.3_jiti@2.4.2_lightningcss@1.29.1_sass@1.89.2_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/vite@6.3.5_@types+node@24.0.3_jiti@2.4.2_lightningcss@1.29.1_sass@1.89.2_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/vite@6.3.5_@types+node@24.0.3_jiti@2.4.2_lightningcss@1.29.1_sass@1.89.2_yaml@2.8.0/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/turbo@1.13.3/node_modules/turbo/bin/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/turbo@1.13.3/node_modules/turbo/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/turbo@1.13.3/node_modules:/home/runner/work/passport/passport/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", STATS_PIP: "false", npm_package_version: "0.2.8", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build", GITHUB_REF_PROTECTED: "false", ACCEPT_EULA: "Y", GITHUB_JOB: "publish-gpr", GITHUB_WORKSPACE: "/home/runner/work/passport/passport", RUNNER_PERFLOG: "/home/runner/perflog", TURBO_INVOCATION_DIR: "/home/runner/work/passport/passport", npm_package_engines_pnpm: ">=9", GITHUB_RUN_ATTEMPT: "1", GITHUB_SHA: "6bc73a5f892656e696a48e76140a1590c5b22a41", STATS_D_TC: "true", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_ACTOR: "mikeavvad", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR_ID: "87299315", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_f6376285-791f-4512-9f57-b38ea7aefea1", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/passport/passport/packages/passport-evm", RUNNER_WORKSPACE: "/home/runner/work/passport", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.12.3/node_modules/pnpm/bin/pnpm.cjs", ANDROID_HOME: "/usr/local/lib/android/sdk", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_EVENT_NAME: "push", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_f6376285-791f-4512-9f57-b38ea7aefea1", GITHUB_SERVER_URL: "https://github.com", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", HOMEBREW_NO_AUTO_UPDATE: "1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/passport/passport/packages/passport-evm", STATS_EXT: "true", npm_config__jsr_registry: "https://npm.jsr.io/", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", CHROME_BIN: "/usr/bin/google-chrome", SGX_AESM_ADDR: "1", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_f6376285-791f-4512-9f57-b38ea7aefea1", INIT_CWD: "/home/runner/work/passport/passport/packages/passport-evm", NODE_ENV: "production" }, X;
|
|
18619
18619
|
if (typeof window > "u") {
|
|
18620
18620
|
var ub = {
|
|
18621
18621
|
hostname: ""
|
|
@@ -35803,7 +35803,7 @@ const M$ = async () => {
|
|
|
35803
35803
|
if (t && hr.set(t), e && Gn.set(e), ea)
|
|
35804
35804
|
ea && ea.style.removeProperty("display");
|
|
35805
35805
|
else {
|
|
35806
|
-
const r = (await import("./App-
|
|
35806
|
+
const r = (await import("./App-BRkz5n_k.js").then((n) => n.A)).default;
|
|
35807
35807
|
nh = new r({ target: document.body }), ea = document.getElementById("cpui");
|
|
35808
35808
|
}
|
|
35809
35809
|
}, L$ = () => {
|
|
@@ -35812,7 +35812,7 @@ const M$ = async () => {
|
|
|
35812
35812
|
if (ra)
|
|
35813
35813
|
Js == null || Js.$set({ styles: e, navConfig: t }), ra && ra.style.removeProperty("display");
|
|
35814
35814
|
else {
|
|
35815
|
-
const r = (await import("./Nav-
|
|
35815
|
+
const r = (await import("./Nav-CSPdwmqX.js")).default;
|
|
35816
35816
|
Js = new r({
|
|
35817
35817
|
target: document.body,
|
|
35818
35818
|
props: { styles: e, navConfig: t }
|
|
@@ -36557,7 +36557,7 @@ const Y$ = () => {
|
|
|
36557
36557
|
}
|
|
36558
36558
|
), n = await r.json();
|
|
36559
36559
|
if (!r.ok) throw new Error(n.error);
|
|
36560
|
-
return n.ui_settings = Object.assign({ stored_value_alias: "stored value", cred_alias: "CRED" }, n.ui_settings),
|
|
36560
|
+
return n.ui_settings = Object.assign({ stored_value_alias: "stored value", cred_alias: "CRED" }, n.ui_settings), n;
|
|
36561
36561
|
};
|
|
36562
36562
|
async function eG(e) {
|
|
36563
36563
|
this.networkType = $E(e.chainId), this.config = {
|
|
@@ -36568,17 +36568,19 @@ async function eG(e) {
|
|
|
36568
36568
|
}, this.chainId = this.config.chainId, this.contracts = {
|
|
36569
36569
|
erc20Cred: this.config.erc20Contract || Z$[this.config.chainId],
|
|
36570
36570
|
membership: X$[this.config.chainId]
|
|
36571
|
-
}, Em.set(this.contracts), Je.set(this.config)
|
|
36571
|
+
}, Em.set(this.contracts), Je.set(this.config);
|
|
36572
36572
|
}
|
|
36573
36573
|
async function rG() {
|
|
36574
36574
|
try {
|
|
36575
|
-
const { chainId: e, clientId: t } = mt(Je),
|
|
36575
|
+
const { chainId: e, clientId: t, credenza: r } = mt(Je), n = await tG(r.accountsApiUrl, t);
|
|
36576
|
+
rx.set(n);
|
|
36577
|
+
const i = s9(e), s = [];
|
|
36576
36578
|
if (window.ethereum) {
|
|
36577
|
-
const { MetamaskExtension:
|
|
36578
|
-
|
|
36579
|
+
const { MetamaskExtension: c } = await import("./main-Cp6wVlR7.js");
|
|
36580
|
+
s.push(new c());
|
|
36579
36581
|
}
|
|
36580
|
-
const
|
|
36581
|
-
if (fe.on(ve.LOGIN, async () => await nG(
|
|
36582
|
+
const o = [new X8({ chainConfig: i, extensions: s })], a = dF(t, o, this.networkType);
|
|
36583
|
+
if (fe.on(ve.LOGIN, async () => await nG(a)), await a, !fe.getAccessToken()) return;
|
|
36582
36584
|
await LF(), Y$();
|
|
36583
36585
|
} catch {
|
|
36584
36586
|
}
|
|
@@ -36661,18 +36663,13 @@ const Tn = class Tn {
|
|
|
36661
36663
|
constructor(t) {
|
|
36662
36664
|
if (this.accessToken = null, this.isLoggedIn = !1, this.user = null, this.login = $$, this.jwtLogin = G$, this.logout = H$, this.openUI = U$, this.close = B$, this.toastAlert = F$, this.destroy = M$, this.hideNavigation = L$, this.showNavigation = D$, this.configurePassport = eG, this.init = rG, this.getCREDContract = o9, this.checkMembership = CF, this.sendTokens = RF, this.getWeb3Provider = EF, this.getAddress = wi, this.sendNft = kF, this.switchChain = SF, this.getBalance = OF, this.requestAirDrop = IF, this.updateProfile = NF, this.confirmAccount = PF, this.getUser = Im, this.requestLoyaltyPoints = oG, this.getTokens = C9, this.getNfts = sG, this.on = jD, this.once = WD, this.destroy(), t != null && t.chainId && !Object.values(et).includes(t == null ? void 0 : t.chainId))
|
|
36663
36665
|
throw new Error('Unsupported ChainId. Check "Passport.chains" for available chains.');
|
|
36664
|
-
this.ethers = Kn, this.configurePassport(t).
|
|
36665
|
-
this.configureStores();
|
|
36666
|
-
}), DL(this.networkType);
|
|
36667
|
-
}
|
|
36668
|
-
async configureStores() {
|
|
36669
|
-
om.set({
|
|
36666
|
+
this.ethers = Kn, this.configurePassport(t), DL(this.networkType), om.set({
|
|
36670
36667
|
// ui
|
|
36671
36668
|
openUI: this.openUI,
|
|
36672
36669
|
close: this.close,
|
|
36673
|
-
toastAlert: (
|
|
36670
|
+
toastAlert: (r, n, i) => {
|
|
36674
36671
|
if (this.networkType !== ma.MAINNET)
|
|
36675
|
-
return this.toastAlert(
|
|
36672
|
+
return this.toastAlert(r, n, i);
|
|
36676
36673
|
},
|
|
36677
36674
|
// auth
|
|
36678
36675
|
logout: this.logout,
|
|
@@ -36689,22 +36686,22 @@ const Tn = class Tn {
|
|
|
36689
36686
|
requestLoyaltyPoints: this.requestLoyaltyPoints
|
|
36690
36687
|
}), tA.set({
|
|
36691
36688
|
requestAirDrop: this.requestAirDrop
|
|
36692
|
-
}), ro.subscribe((
|
|
36693
|
-
this.isLoggedIn =
|
|
36694
|
-
}), yi.subscribe((
|
|
36695
|
-
|
|
36696
|
-
}), eA.subscribe(({ loading:
|
|
36697
|
-
var
|
|
36698
|
-
if (!(!((
|
|
36699
|
-
if (
|
|
36689
|
+
}), ro.subscribe((r) => this.user = r), ga.subscribe((r) => {
|
|
36690
|
+
this.isLoggedIn = r || !1, DF(this.isLoggedIn, this.openUI);
|
|
36691
|
+
}), yi.subscribe((r) => this.accessToken = r), An.subscribe((r) => this.provider = r), x4.subscribe((r) => {
|
|
36692
|
+
r && typeof window < "u" && this.openUI();
|
|
36693
|
+
}), eA.subscribe(({ loading: r, active: n }) => {
|
|
36694
|
+
var i, s, o;
|
|
36695
|
+
if (!(!((i = mt(Je).content) != null && i.cloak) || mt(x4) || typeof window > "u")) {
|
|
36696
|
+
if (n && r)
|
|
36700
36697
|
return void this.openUI(er.LOADER, { loaderText: "Checking your access..." });
|
|
36701
|
-
if (
|
|
36698
|
+
if (n && !r)
|
|
36702
36699
|
return void this.openUI(er.ERROR, {
|
|
36703
36700
|
title: "Premium Access Required",
|
|
36704
36701
|
description: "To access this page, please consider purchasing our content or subscribing to our service.",
|
|
36705
36702
|
shouldRenderBackButton: !1,
|
|
36706
|
-
primaryAction: (
|
|
36707
|
-
secondaryAction: (
|
|
36703
|
+
primaryAction: (s = mt(Q1)) == null ? void 0 : s.primaryAction,
|
|
36704
|
+
secondaryAction: (o = mt(Q1)) == null ? void 0 : o.secondaryAction
|
|
36708
36705
|
});
|
|
36709
36706
|
this.close();
|
|
36710
36707
|
}
|
|
@@ -36873,4 +36870,4 @@ export {
|
|
|
36873
36870
|
QG as y,
|
|
36874
36871
|
BG as z
|
|
36875
36872
|
};
|
|
36876
|
-
//# sourceMappingURL=index-
|
|
36873
|
+
//# sourceMappingURL=index-ttYgNsPa.js.map
|