@strivacity/sdk-nuxt 1.0.1 → 2.0.0-beta.2
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/.nuxt/app-component.mjs +1 -1
- package/.nuxt/component-names.mjs +1 -1
- package/.nuxt/components.d.ts +110 -92
- package/.nuxt/error-component.mjs +1 -1
- package/.nuxt/global-polyfills.mjs +4 -0
- package/.nuxt/imports.d.ts +7 -6
- package/.nuxt/imports.mjs +7 -6
- package/.nuxt/layouts.mjs +1 -0
- package/.nuxt/manifest/meta/ba93f89b-30bd-4721-919e-d2c0fdc150d7.json +1 -0
- package/.nuxt/middleware.mjs +1 -1
- package/.nuxt/nuxt.d.ts +1 -2
- package/.nuxt/plugins.client.mjs +18 -0
- package/.nuxt/plugins.server.mjs +10 -0
- package/.nuxt/root-component.mjs +1 -1
- package/.nuxt/router.options.mjs +2 -0
- package/.nuxt/strivacity-sdk-storage.d.ts +3 -3
- package/.nuxt/strivacity-sdk-storage.mjs +1 -1
- package/.nuxt/test-component-wrapper.mjs +1 -1
- package/.nuxt/types/app-defaults.d.ts +1 -1
- package/.nuxt/types/builder-env.d.ts +1 -0
- package/.nuxt/types/nitro-config.d.ts +2 -2
- package/.nuxt/types/nitro-imports.d.ts +13 -3
- package/.nuxt/types/nitro-nuxt.d.ts +5 -0
- package/.nuxt/types/nitro-routes.d.ts +6 -3
- package/.nuxt/types/plugins.d.ts +10 -11
- package/.nuxt/unhead-options.mjs +6 -0
- package/CHANGELOG.md +24 -0
- package/README.md +432 -22
- package/dist/module.d.mts +68 -15
- package/dist/module.json +3 -3
- package/dist/module.mjs +10 -4
- package/dist/module.mjs.map +1 -1
- package/dist/runtime/composables.d.ts +3 -3
- package/dist/runtime/composables.js +11 -1
- package/dist/runtime/login-renderer.vue +163 -0
- package/dist/runtime/login-renderer.vue.d.ts +32 -0
- package/dist/types.d.mts +15 -1
- package/package.json +5 -6
- package/.nuxt/plugins/client.mjs +0 -18
- package/.nuxt/plugins/server.mjs +0 -10
- package/.nuxt/unhead-plugins.mjs +0 -2
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -128
- package/dist/types.d.ts +0 -1
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import type { SDKStorage } from '@strivacity/sdk-core';
|
|
3
3
|
|
|
4
4
|
declare class CustomStorage implements SDKStorage {
|
|
5
|
-
get(key: string): string | null
|
|
6
|
-
delete(key: string): void
|
|
7
|
-
set(key: string, value: string): void
|
|
5
|
+
get(key: string): Promise<string | null>;
|
|
6
|
+
delete(key: string): Promise<void>;
|
|
7
|
+
set(key: string, value: string): Promise<void>;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export default CustomStorage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default class
|
|
1
|
+
export default class t{async get(o){var e,a;return await Promise.resolve((a=(e=globalThis==null?void 0:globalThis.window)==null?void 0:e.localStorage)==null?void 0:a.getItem(o))}async delete(o){var e;await Promise.resolve((e=globalThis==null?void 0:globalThis.window)==null?void 0:e.localStorage.removeItem(o))}async set(o,e){var a;await Promise.resolve((a=globalThis==null?void 0:globalThis.window)==null?void 0:a.localStorage.setItem(o,e))}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "/home/runner/work/sdk-js/sdk-js/node_modules/.pnpm/nuxt@3.
|
|
1
|
+
export { default } from "/home/runner/work/sdk-js/sdk-js/node_modules/.pnpm/nuxt@3.17.5_@capacitor+preferences@7.0.1_@capacitor+core@7.4.1__@parcel+watcher@2.4.1_@types+_xnsjdrbl5oy7hr3kak5ugxarny/node_modules/nuxt/dist/app/components/test-component-wrapper";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@nuxt/schema/builder-env";
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
export {
|
|
2
|
+
export { useNitroApp } from 'nitropack/runtime/internal/app';
|
|
3
|
+
export { useRuntimeConfig, useAppConfig } from 'nitropack/runtime/internal/config';
|
|
4
|
+
export { defineNitroPlugin, nitroPlugin } from 'nitropack/runtime/internal/plugin';
|
|
5
|
+
export { defineCachedFunction, defineCachedEventHandler, cachedFunction, cachedEventHandler } from 'nitropack/runtime/internal/cache';
|
|
6
|
+
export { useStorage } from 'nitropack/runtime/internal/storage';
|
|
7
|
+
export { defineRenderHandler } from 'nitropack/runtime/internal/renderer';
|
|
8
|
+
export { defineRouteMeta } from 'nitropack/runtime/internal/meta';
|
|
9
|
+
export { getRouteRules } from 'nitropack/runtime/internal/route-rules';
|
|
10
|
+
export { useEvent } from 'nitropack/runtime/internal/context';
|
|
11
|
+
export { defineTask, runTask } from 'nitropack/runtime/internal/task';
|
|
12
|
+
export { defineNitroErrorHandler } from 'nitropack/runtime/internal/error/utils';
|
|
3
13
|
export { appendCorsHeaders, appendCorsPreflightHeaders, appendHeader, appendHeaders, appendResponseHeader, appendResponseHeaders, assertMethod, callNodeListener, clearResponseHeaders, clearSession, createApp, createAppEventHandler, createError, createEvent, createEventStream, createRouter, defaultContentType, defineEventHandler, defineLazyEventHandler, defineNodeListener, defineNodeMiddleware, defineRequestMiddleware, defineResponseMiddleware, defineWebSocket, defineWebSocketHandler, deleteCookie, dynamicEventHandler, eventHandler, fetchWithEvent, fromNodeMiddleware, fromPlainHandler, fromWebHandler, getCookie, getHeader, getHeaders, getMethod, getProxyRequestHeaders, getQuery, getRequestFingerprint, getRequestHeader, getRequestHeaders, getRequestHost, getRequestIP, getRequestPath, getRequestProtocol, getRequestURL, getRequestWebStream, getResponseHeader, getResponseHeaders, getResponseStatus, getResponseStatusText, getRouterParam, getRouterParams, getSession, getValidatedQuery, getValidatedRouterParams, handleCacheHeaders, handleCors, isCorsOriginAllowed, isError, isEvent, isEventHandler, isMethod, isPreflightRequest, isStream, isWebResponse, lazyEventHandler, parseCookies, promisifyNodeListener, proxyRequest, readBody, readFormData, readMultipartFormData, readRawBody, readValidatedBody, removeResponseHeader, sanitizeStatusCode, sanitizeStatusMessage, sealSession, send, sendError, sendIterable, sendNoContent, sendProxy, sendRedirect, sendStream, sendWebResponse, serveStatic, setCookie, setHeader, setHeaders, setResponseHeader, setResponseHeaders, setResponseStatus, splitCookiesString, toEventHandler, toNodeListener, toPlainHandler, toWebHandler, toWebRequest, unsealSession, updateSession, useBase, useSession, writeEarlyHints } from 'h3';
|
|
4
|
-
export { buildAssetsURL as __buildAssetsURL, publicAssetsURL as __publicAssetsURL } from '
|
|
5
|
-
export { defineAppConfig } from '
|
|
14
|
+
export { buildAssetsURL as __buildAssetsURL, publicAssetsURL as __publicAssetsURL } from '/home/runner/work/sdk-js/sdk-js/node_modules/.pnpm/nuxt@3.17.5_@capacitor+preferences@7.0.1_@capacitor+core@7.4.1__@parcel+watcher@2.4.1_@types+_xnsjdrbl5oy7hr3kak5ugxarny/node_modules/nuxt/dist/core/runtime/nitro/utils/paths';
|
|
15
|
+
export { defineAppConfig } from '/home/runner/work/sdk-js/sdk-js/node_modules/.pnpm/nuxt@3.17.5_@capacitor+preferences@7.0.1_@capacitor+core@7.4.1__@parcel+watcher@2.4.1_@types+_xnsjdrbl5oy7hr3kak5ugxarny/node_modules/nuxt/dist/core/runtime/nitro/utils/config';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
|
|
2
|
+
/// <reference path="middleware.d.ts" />
|
|
2
3
|
/// <reference path="./schema.d.ts" />
|
|
3
4
|
|
|
4
5
|
import type { RuntimeConfig } from 'nuxt/schema'
|
|
@@ -14,10 +15,14 @@ declare module 'nitropack' {
|
|
|
14
15
|
interface NitroRuntimeConfig extends RuntimeConfig {}
|
|
15
16
|
interface NitroRouteConfig {
|
|
16
17
|
ssr?: boolean
|
|
18
|
+
noScripts?: boolean
|
|
19
|
+
/** @deprecated Use `noScripts` instead */
|
|
17
20
|
experimentalNoScripts?: boolean
|
|
18
21
|
}
|
|
19
22
|
interface NitroRouteRules {
|
|
20
23
|
ssr?: boolean
|
|
24
|
+
noScripts?: boolean
|
|
25
|
+
/** @deprecated Use `noScripts` instead */
|
|
21
26
|
experimentalNoScripts?: boolean
|
|
22
27
|
appMiddleware?: Record<string, boolean>
|
|
23
28
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
// Generated by nitro
|
|
2
|
-
import type { Serialize, Simplify } from
|
|
3
|
-
declare module
|
|
2
|
+
import type { Serialize, Simplify } from "nitropack/types";
|
|
3
|
+
declare module "nitropack/types" {
|
|
4
4
|
type Awaited<T> = T extends PromiseLike<infer U> ? Awaited<U> : T
|
|
5
5
|
interface InternalApi {
|
|
6
6
|
'/__nuxt_error': {
|
|
7
|
-
'default': Simplify<Serialize<Awaited<ReturnType<typeof import('../../../../node_modules/.pnpm/nuxt@3.
|
|
7
|
+
'default': Simplify<Serialize<Awaited<ReturnType<typeof import('../../../../node_modules/.pnpm/nuxt@3.17.5_@capacitor+preferences@7.0.1_@capacitor+core@7.4.1__@parcel+watcher@2.4.1_@types+_xnsjdrbl5oy7hr3kak5ugxarny/node_modules/nuxt/dist/core/runtime/nitro/handlers/renderer').default>>>>
|
|
8
|
+
}
|
|
9
|
+
'/__nuxt_island/**': {
|
|
10
|
+
'default': Simplify<Serialize<Awaited<ReturnType<typeof import('../../server/#internal/nuxt/island-renderer').default>>>>
|
|
8
11
|
}
|
|
9
12
|
}
|
|
10
13
|
}
|
package/.nuxt/types/plugins.d.ts
CHANGED
|
@@ -3,19 +3,18 @@ import type { Plugin } from '#app'
|
|
|
3
3
|
|
|
4
4
|
type Decorate<T extends Record<string, any>> = { [K in keyof T as K extends string ? `$${K}` : never]: T[K] }
|
|
5
5
|
|
|
6
|
-
type
|
|
7
|
-
type InjectionType<A extends Plugin> = IsAny<A> extends true ? unknown : A extends Plugin<infer T> ? Decorate<T> : unknown
|
|
6
|
+
type InjectionType<A extends Plugin> = A extends {default: Plugin<infer T>} ? Decorate<T> : unknown
|
|
8
7
|
|
|
9
8
|
type NuxtAppInjections =
|
|
10
|
-
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.
|
|
11
|
-
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.
|
|
12
|
-
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.
|
|
13
|
-
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.
|
|
14
|
-
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.
|
|
15
|
-
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.
|
|
16
|
-
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.
|
|
17
|
-
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.
|
|
18
|
-
InjectionType<typeof import("../components.plugin.mjs")
|
|
9
|
+
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.17.5_@capacitor+preferences@7.0.1_@capacitor+core@7.4.1__@parcel+watcher@2.4.1_@types+_xnsjdrbl5oy7hr3kak5ugxarny/node_modules/nuxt/dist/app/plugins/revive-payload.client.js")> &
|
|
10
|
+
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.17.5_@capacitor+preferences@7.0.1_@capacitor+core@7.4.1__@parcel+watcher@2.4.1_@types+_xnsjdrbl5oy7hr3kak5ugxarny/node_modules/nuxt/dist/head/runtime/plugins/unhead.js")> &
|
|
11
|
+
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.17.5_@capacitor+preferences@7.0.1_@capacitor+core@7.4.1__@parcel+watcher@2.4.1_@types+_xnsjdrbl5oy7hr3kak5ugxarny/node_modules/nuxt/dist/app/plugins/router.js")> &
|
|
12
|
+
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.17.5_@capacitor+preferences@7.0.1_@capacitor+core@7.4.1__@parcel+watcher@2.4.1_@types+_xnsjdrbl5oy7hr3kak5ugxarny/node_modules/nuxt/dist/app/plugins/payload.client.js")> &
|
|
13
|
+
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.17.5_@capacitor+preferences@7.0.1_@capacitor+core@7.4.1__@parcel+watcher@2.4.1_@types+_xnsjdrbl5oy7hr3kak5ugxarny/node_modules/nuxt/dist/app/plugins/navigation-repaint.client.js")> &
|
|
14
|
+
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.17.5_@capacitor+preferences@7.0.1_@capacitor+core@7.4.1__@parcel+watcher@2.4.1_@types+_xnsjdrbl5oy7hr3kak5ugxarny/node_modules/nuxt/dist/app/plugins/check-outdated-build.client.js")> &
|
|
15
|
+
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.17.5_@capacitor+preferences@7.0.1_@capacitor+core@7.4.1__@parcel+watcher@2.4.1_@types+_xnsjdrbl5oy7hr3kak5ugxarny/node_modules/nuxt/dist/app/plugins/revive-payload.server.js")> &
|
|
16
|
+
InjectionType<typeof import("../../../../node_modules/.pnpm/nuxt@3.17.5_@capacitor+preferences@7.0.1_@capacitor+core@7.4.1__@parcel+watcher@2.4.1_@types+_xnsjdrbl5oy7hr3kak5ugxarny/node_modules/nuxt/dist/app/plugins/chunk-reload.client.js")> &
|
|
17
|
+
InjectionType<typeof import("../components.plugin.mjs")>
|
|
19
18
|
|
|
20
19
|
declare module '#app' {
|
|
21
20
|
interface NuxtApp extends NuxtAppInjections { }
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DeprecationsPlugin, PromisesPlugin, TemplateParamsPlugin, AliasSortingPlugin } from "/home/runner/work/sdk-js/sdk-js/node_modules/.pnpm/@unhead+vue@2.0.10_vue@3.5.17_typescript@5.8.3_/node_modules/@unhead/vue/dist/plugins.mjs";
|
|
2
|
+
export default {
|
|
3
|
+
disableDefaults: true,
|
|
4
|
+
disableCapoSorting: false,
|
|
5
|
+
plugins: [DeprecationsPlugin, PromisesPlugin, TemplateParamsPlugin, AliasSortingPlugin],
|
|
6
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## 2.0.0-beta.2 (2025-07-24)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated sdk-core to 2.0.0-beta.2
|
|
6
|
+
- Updated sdk-core to 2.0.0-beta.2
|
|
7
|
+
|
|
8
|
+
## 2.0.0-beta (2025-07-24)
|
|
9
|
+
|
|
10
|
+
### 🚀 Features
|
|
11
|
+
|
|
12
|
+
- ionic example app added ([494805a](https://github.com/strivacity/sdk-js/commit/494805a))
|
|
13
|
+
- ⚠️ NativeFlow implemented ([75b353f](https://github.com/strivacity/sdk-js/commit/75b353f))
|
|
14
|
+
- @strivacity/sdk-nuxt package implemented ([1ac0c81](https://github.com/strivacity/sdk-js/commit/1ac0c81))
|
|
15
|
+
|
|
16
|
+
### ⚠️ Breaking Changes
|
|
17
|
+
|
|
18
|
+
- ⚠️ NativeFlow implemented ([75b353f](https://github.com/strivacity/sdk-js/commit/75b353f))
|
|
19
|
+
|
|
20
|
+
### 🧱 Updated Dependencies
|
|
21
|
+
|
|
22
|
+
- Updated sdk-core to 2.0.0-beta
|
|
23
|
+
- Updated sdk-core to 2.0.0-beta
|
|
24
|
+
|
|
1
25
|
## 1.0.1 (2025-02-03)
|
|
2
26
|
|
|
3
27
|
|