@credenza3/passport-sui 0.1.5 → 0.1.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.
Files changed (111) hide show
  1. package/dist/App-CzJCZTZI.js +644 -0
  2. package/dist/App-CzJCZTZI.js.map +1 -0
  3. package/dist/Button-DdkN4ygx.js +69 -0
  4. package/dist/{Button-BsbTG8lO.js.map → Button-DdkN4ygx.js.map} +1 -1
  5. package/dist/{ButtonBack-DD2NyWwM.js → ButtonBack-DOt6efWB.js} +10 -8
  6. package/dist/{ButtonBack-DD2NyWwM.js.map → ButtonBack-DOt6efWB.js.map} +1 -1
  7. package/dist/ButtonLink-C3suV3YT.js +58 -0
  8. package/dist/{ButtonLink-Cs59sxMy.js.map → ButtonLink-C3suV3YT.js.map} +1 -1
  9. package/dist/ConfirmAccount-B0QimErt.js +210 -0
  10. package/dist/{ConfirmAccount-Lf9S0MhU.js.map → ConfirmAccount-B0QimErt.js.map} +1 -1
  11. package/dist/ContentHeader-DWeKFCbL.js +36 -0
  12. package/dist/{ContentHeader-CLn8GOLm.js.map → ContentHeader-DWeKFCbL.js.map} +1 -1
  13. package/dist/{Error-CxVJQIoH.js → Error-6xg8-wZJ.js} +101 -90
  14. package/dist/{Error-CxVJQIoH.js.map → Error-6xg8-wZJ.js.map} +1 -1
  15. package/dist/Input-CoBmMhni.js +62 -0
  16. package/dist/{Input-C-MLGjCj.js.map → Input-CoBmMhni.js.map} +1 -1
  17. package/dist/Label-B8iJ43l6.js +27 -0
  18. package/dist/{Label-Djj4wtpJ.js.map → Label-B8iJ43l6.js.map} +1 -1
  19. package/dist/Login-DsclMbeX.js +264 -0
  20. package/dist/Login-DsclMbeX.js.map +1 -0
  21. package/dist/Logout-ClD-Lgcx.js +96 -0
  22. package/dist/{Logout-S51UB3vm.js.map → Logout-ClD-Lgcx.js.map} +1 -1
  23. package/dist/Nav-DGxksgRd.js +669 -0
  24. package/dist/{Nav-DMRn61kA.js.map → Nav-DGxksgRd.js.map} +1 -1
  25. package/dist/{PassportId-B6Vps9D-.js → PassportId-5U1tRgrN.js} +298 -314
  26. package/dist/PassportId-5U1tRgrN.js.map +1 -0
  27. package/dist/Payment-DXvVU-Oe.js +989 -0
  28. package/dist/Payment-DXvVU-Oe.js.map +1 -0
  29. package/dist/PaymentResult-BDKwT5Sg.js +302 -0
  30. package/dist/{PaymentResult-GtndDFgP.js.map → PaymentResult-BDKwT5Sg.js.map} +1 -1
  31. package/dist/{Profile-DtWPPnzN.js → Profile-euztX9tl.js} +162 -151
  32. package/dist/{Profile-DtWPPnzN.js.map → Profile-euztX9tl.js.map} +1 -1
  33. package/dist/ProgressVideo-D4DPjIEy.js +126 -0
  34. package/dist/{ProgressVideo-CKJpaKXT.js.map → ProgressVideo-D4DPjIEy.js.map} +1 -1
  35. package/dist/{ProgressVideo.service-CuYcBU3B.js → ProgressVideo.service-BK7Nt-Vk.js} +2 -2
  36. package/dist/{ProgressVideo.service-CuYcBU3B.js.map → ProgressVideo.service-BK7Nt-Vk.js.map} +1 -1
  37. package/dist/RichAlert-D10QwVqC.js +139 -0
  38. package/dist/{RichAlert-5BL3Ix5z.js.map → RichAlert-D10QwVqC.js.map} +1 -1
  39. package/dist/{Scanner-BmtAhTU8.js → Scanner-8y4vkfL1.js} +46 -46
  40. package/dist/{Scanner-BmtAhTU8.js.map → Scanner-8y4vkfL1.js.map} +1 -1
  41. package/dist/SendTokens-DSJTklJ_.js +351 -0
  42. package/dist/SendTokens-DSJTklJ_.js.map +1 -0
  43. package/dist/Sign-CnrilrlB.js +108 -0
  44. package/dist/{Sign-BGfwNmPK.js.map → Sign-CnrilrlB.js.map} +1 -1
  45. package/dist/{Stripe.service-DVO5PxAg.js → Stripe.service-DZue_N62.js} +15 -16
  46. package/dist/{Stripe.service-DVO5PxAg.js.map → Stripe.service-DZue_N62.js.map} +1 -1
  47. package/dist/UpdateProfile-DVYtN4B3.js +522 -0
  48. package/dist/UpdateProfile-DVYtN4B3.js.map +1 -0
  49. package/dist/UserInfo-D8COK5lo.js +151 -0
  50. package/dist/{UserInfo-DWIc3eJd.js.map → UserInfo-D8COK5lo.js.map} +1 -1
  51. package/dist/Wallet-C--KgjFi.js +258 -0
  52. package/dist/{Wallet-D2UW1K77.js.map → Wallet-C--KgjFi.js.map} +1 -1
  53. package/dist/each-C50_uszW.js +202 -0
  54. package/dist/each-C50_uszW.js.map +1 -0
  55. package/dist/event-modifiers-DpFXHa6q.js.map +1 -1
  56. package/dist/html-DTfBoa9t.js +53 -0
  57. package/dist/html-DTfBoa9t.js.map +1 -0
  58. package/dist/index-DmO4Bf6j.js +43222 -0
  59. package/dist/index-DmO4Bf6j.js.map +1 -0
  60. package/dist/{index-client-C2b3pj6G.js → index-client-BARQdFBp.js} +5 -5
  61. package/dist/index-client-BARQdFBp.js.map +1 -0
  62. package/dist/{input-DSquQZrj.js → input-wkVwDWFH.js} +3 -3
  63. package/dist/{input-DSquQZrj.js.map → input-wkVwDWFH.js.map} +1 -1
  64. package/dist/legacy-BgObIK2n.js +1038 -0
  65. package/dist/legacy-BgObIK2n.js.map +1 -0
  66. package/dist/main-CJLmsNB-.js.map +1 -1
  67. package/dist/passport.es.js +3 -3
  68. package/dist/passport.umd.js +837 -231
  69. package/dist/passport.umd.js.map +1 -1
  70. package/dist/{socket-io-DC-dPxeO.js → socket-io-BNYia6TN.js} +2 -2
  71. package/dist/{socket-io-DC-dPxeO.js.map → socket-io-BNYia6TN.js.map} +1 -1
  72. package/dist/types/Passport.d.ts +1 -0
  73. package/dist/types/passport/auth.d.ts +2 -4
  74. package/package.json +23 -23
  75. package/dist/App-BAFJP3YE.js +0 -629
  76. package/dist/App-BAFJP3YE.js.map +0 -1
  77. package/dist/Button-BsbTG8lO.js +0 -69
  78. package/dist/ButtonLink-Cs59sxMy.js +0 -58
  79. package/dist/ConfirmAccount-Lf9S0MhU.js +0 -208
  80. package/dist/ContentHeader-CLn8GOLm.js +0 -36
  81. package/dist/Input-C-MLGjCj.js +0 -68
  82. package/dist/Label-Djj4wtpJ.js +0 -27
  83. package/dist/Login-C7pe83sW.js +0 -314
  84. package/dist/Login-C7pe83sW.js.map +0 -1
  85. package/dist/Logout-S51UB3vm.js +0 -84
  86. package/dist/Nav-DMRn61kA.js +0 -644
  87. package/dist/PassportId-B6Vps9D-.js.map +0 -1
  88. package/dist/Payment-BaiScVf4.js +0 -975
  89. package/dist/Payment-BaiScVf4.js.map +0 -1
  90. package/dist/PaymentResult-GtndDFgP.js +0 -285
  91. package/dist/ProgressVideo-CKJpaKXT.js +0 -121
  92. package/dist/RichAlert-5BL3Ix5z.js +0 -121
  93. package/dist/SendTokens-BUM-slmS.js +0 -333
  94. package/dist/SendTokens-BUM-slmS.js.map +0 -1
  95. package/dist/Sign-BGfwNmPK.js +0 -87
  96. package/dist/UpdateProfile-BlHz4MuU.js +0 -508
  97. package/dist/UpdateProfile-BlHz4MuU.js.map +0 -1
  98. package/dist/UserInfo-DWIc3eJd.js +0 -135
  99. package/dist/Wallet-D2UW1K77.js +0 -242
  100. package/dist/each-Dqze57Ms.js +0 -205
  101. package/dist/each-Dqze57Ms.js.map +0 -1
  102. package/dist/html-0_BSI5XK.js +0 -35
  103. package/dist/html-0_BSI5XK.js.map +0 -1
  104. package/dist/index-DfsKJkF5.js +0 -51
  105. package/dist/index-DfsKJkF5.js.map +0 -1
  106. package/dist/index-DjqVR0UB.js +0 -33828
  107. package/dist/index-DjqVR0UB.js.map +0 -1
  108. package/dist/index-client-C2b3pj6G.js.map +0 -1
  109. package/dist/legacy-CqcDNlD_.js +0 -956
  110. package/dist/legacy-CqcDNlD_.js.map +0 -1
  111. package/dist/types/app/pages/login/authMethods.helper.d.ts +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-client-C2b3pj6G.js","sources":["../../../node_modules/.pnpm/svelte@5.27.0/node_modules/svelte/src/internal/shared/errors.js","../../../node_modules/.pnpm/svelte@5.27.0/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 * `%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: never; // 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]}