@moonbase.sh/vue 0.4.19 → 0.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _moonbase_sh_storefront_api from '@moonbase.sh/storefront-api';
|
|
|
2
2
|
import { MoonbaseConfiguration, Storefront, Order, User, UrchinTrackingModule, MoonbaseClient, LineItem, OpenOrder, Money, CompletedOrder, ActivationRequest, Address, CommunicationPreferences, StorefrontBundle, StorefrontProduct, PricingVariation, ActivationMethod, Activation, Download, Vendor } from '@moonbase.sh/storefront-api';
|
|
3
3
|
export * from '@moonbase.sh/storefront-api';
|
|
4
4
|
import * as vue from 'vue';
|
|
5
|
-
import {
|
|
5
|
+
import { Plugin, Ref, App, UnwrapRef, InjectionKey } from 'vue';
|
|
6
6
|
|
|
7
7
|
interface StorefrontContext extends Pick<Plugin, keyof Plugin> {
|
|
8
8
|
configuration: MoonbaseConfiguration;
|
|
@@ -70,6 +70,7 @@ declare function useAuth(context?: StorefrontContext): {
|
|
|
70
70
|
} | undefined;
|
|
71
71
|
ownedProducts?: string[] | undefined;
|
|
72
72
|
subscribedProducts?: string[] | undefined;
|
|
73
|
+
confirmedAccount?: boolean | undefined;
|
|
73
74
|
hasProducts?: boolean | null | undefined;
|
|
74
75
|
hasSubscriptions?: boolean | null | undefined;
|
|
75
76
|
} | null, {
|
|
@@ -90,6 +91,7 @@ declare function useAuth(context?: StorefrontContext): {
|
|
|
90
91
|
} | undefined;
|
|
91
92
|
ownedProducts?: string[] | undefined;
|
|
92
93
|
subscribedProducts?: string[] | undefined;
|
|
94
|
+
confirmedAccount?: boolean | undefined;
|
|
93
95
|
hasProducts?: boolean | null | undefined;
|
|
94
96
|
hasSubscriptions?: boolean | null | undefined;
|
|
95
97
|
} | null>;
|
|
@@ -113,6 +115,7 @@ declare function useAuth(context?: StorefrontContext): {
|
|
|
113
115
|
} | undefined;
|
|
114
116
|
ownedProducts?: string[] | undefined;
|
|
115
117
|
subscribedProducts?: string[] | undefined;
|
|
118
|
+
confirmedAccount?: boolean | undefined;
|
|
116
119
|
hasProducts?: boolean | null | undefined;
|
|
117
120
|
hasSubscriptions?: boolean | null | undefined;
|
|
118
121
|
}>;
|
|
@@ -134,6 +137,7 @@ declare function useAuth(context?: StorefrontContext): {
|
|
|
134
137
|
} | undefined;
|
|
135
138
|
ownedProducts?: string[] | undefined;
|
|
136
139
|
subscribedProducts?: string[] | undefined;
|
|
140
|
+
confirmedAccount?: boolean | undefined;
|
|
137
141
|
hasProducts?: boolean | null | undefined;
|
|
138
142
|
hasSubscriptions?: boolean | null | undefined;
|
|
139
143
|
}>;
|
|
@@ -158,6 +162,7 @@ declare function useAuth(context?: StorefrontContext): {
|
|
|
158
162
|
} | undefined;
|
|
159
163
|
ownedProducts?: string[] | undefined;
|
|
160
164
|
subscribedProducts?: string[] | undefined;
|
|
165
|
+
confirmedAccount?: boolean | undefined;
|
|
161
166
|
hasProducts?: boolean | null | undefined;
|
|
162
167
|
hasSubscriptions?: boolean | null | undefined;
|
|
163
168
|
};
|
|
@@ -190,6 +195,7 @@ declare function useAuth(context?: StorefrontContext): {
|
|
|
190
195
|
} | undefined;
|
|
191
196
|
ownedProducts?: string[] | undefined;
|
|
192
197
|
subscribedProducts?: string[] | undefined;
|
|
198
|
+
confirmedAccount?: boolean | undefined;
|
|
193
199
|
hasProducts?: boolean | null | undefined;
|
|
194
200
|
hasSubscriptions?: boolean | null | undefined;
|
|
195
201
|
} | null>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _moonbase_sh_storefront_api from '@moonbase.sh/storefront-api';
|
|
|
2
2
|
import { MoonbaseConfiguration, Storefront, Order, User, UrchinTrackingModule, MoonbaseClient, LineItem, OpenOrder, Money, CompletedOrder, ActivationRequest, Address, CommunicationPreferences, StorefrontBundle, StorefrontProduct, PricingVariation, ActivationMethod, Activation, Download, Vendor } from '@moonbase.sh/storefront-api';
|
|
3
3
|
export * from '@moonbase.sh/storefront-api';
|
|
4
4
|
import * as vue from 'vue';
|
|
5
|
-
import {
|
|
5
|
+
import { Plugin, Ref, App, UnwrapRef, InjectionKey } from 'vue';
|
|
6
6
|
|
|
7
7
|
interface StorefrontContext extends Pick<Plugin, keyof Plugin> {
|
|
8
8
|
configuration: MoonbaseConfiguration;
|
|
@@ -70,6 +70,7 @@ declare function useAuth(context?: StorefrontContext): {
|
|
|
70
70
|
} | undefined;
|
|
71
71
|
ownedProducts?: string[] | undefined;
|
|
72
72
|
subscribedProducts?: string[] | undefined;
|
|
73
|
+
confirmedAccount?: boolean | undefined;
|
|
73
74
|
hasProducts?: boolean | null | undefined;
|
|
74
75
|
hasSubscriptions?: boolean | null | undefined;
|
|
75
76
|
} | null, {
|
|
@@ -90,6 +91,7 @@ declare function useAuth(context?: StorefrontContext): {
|
|
|
90
91
|
} | undefined;
|
|
91
92
|
ownedProducts?: string[] | undefined;
|
|
92
93
|
subscribedProducts?: string[] | undefined;
|
|
94
|
+
confirmedAccount?: boolean | undefined;
|
|
93
95
|
hasProducts?: boolean | null | undefined;
|
|
94
96
|
hasSubscriptions?: boolean | null | undefined;
|
|
95
97
|
} | null>;
|
|
@@ -113,6 +115,7 @@ declare function useAuth(context?: StorefrontContext): {
|
|
|
113
115
|
} | undefined;
|
|
114
116
|
ownedProducts?: string[] | undefined;
|
|
115
117
|
subscribedProducts?: string[] | undefined;
|
|
118
|
+
confirmedAccount?: boolean | undefined;
|
|
116
119
|
hasProducts?: boolean | null | undefined;
|
|
117
120
|
hasSubscriptions?: boolean | null | undefined;
|
|
118
121
|
}>;
|
|
@@ -134,6 +137,7 @@ declare function useAuth(context?: StorefrontContext): {
|
|
|
134
137
|
} | undefined;
|
|
135
138
|
ownedProducts?: string[] | undefined;
|
|
136
139
|
subscribedProducts?: string[] | undefined;
|
|
140
|
+
confirmedAccount?: boolean | undefined;
|
|
137
141
|
hasProducts?: boolean | null | undefined;
|
|
138
142
|
hasSubscriptions?: boolean | null | undefined;
|
|
139
143
|
}>;
|
|
@@ -158,6 +162,7 @@ declare function useAuth(context?: StorefrontContext): {
|
|
|
158
162
|
} | undefined;
|
|
159
163
|
ownedProducts?: string[] | undefined;
|
|
160
164
|
subscribedProducts?: string[] | undefined;
|
|
165
|
+
confirmedAccount?: boolean | undefined;
|
|
161
166
|
hasProducts?: boolean | null | undefined;
|
|
162
167
|
hasSubscriptions?: boolean | null | undefined;
|
|
163
168
|
};
|
|
@@ -190,6 +195,7 @@ declare function useAuth(context?: StorefrontContext): {
|
|
|
190
195
|
} | undefined;
|
|
191
196
|
ownedProducts?: string[] | undefined;
|
|
192
197
|
subscribedProducts?: string[] | undefined;
|
|
198
|
+
confirmedAccount?: boolean | undefined;
|
|
193
199
|
hasProducts?: boolean | null | undefined;
|
|
194
200
|
hasSubscriptions?: boolean | null | undefined;
|
|
195
201
|
} | null>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.23",
|
|
5
5
|
"description": "Package to let you build vue.js storefronts with Moonbase.sh as payment and delivery provider",
|
|
6
6
|
"author": "Tobias Lønnerød Madsen <m@dsen.tv>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@vue/devtools-api": "^6.6.3",
|
|
20
20
|
"uuid": "^9.0.1",
|
|
21
21
|
"zod": "^3.23.8",
|
|
22
|
-
"@moonbase.sh/storefront-api": "0.4.
|
|
22
|
+
"@moonbase.sh/storefront-api": "0.4.23"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/uuid": "^9.0.8",
|