@lowdefy/actions-core 6.1.0 → 7.1.0
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/actions/AcceptInvitation/AcceptInvitation.js +21 -0
- package/dist/actions/AcceptInvitation/schema.js +16 -0
- package/dist/actions/ChangePassword/ChangePassword.js +18 -0
- package/dist/actions/ChangePassword/schema.js +25 -0
- package/dist/actions/EmailOtpSend/EmailOtpSend.js +21 -0
- package/dist/actions/EmailOtpSend/schema.js +34 -0
- package/dist/actions/EmailOtpVerify/EmailOtpVerify.js +22 -0
- package/dist/actions/EmailOtpVerify/schema.js +71 -0
- package/dist/actions/GetLocalStorage/GetLocalStorage.js +45 -0
- package/dist/actions/GetLocalStorage/schema.js +35 -0
- package/dist/actions/LeaveOrganization/LeaveOrganization.js +22 -0
- package/dist/actions/LeaveOrganization/schema.js +3 -0
- package/dist/actions/Link/schema.js +19 -1
- package/dist/actions/ListOrganizations/ListOrganizations.js +21 -0
- package/dist/actions/ListOrganizations/schema.js +17 -0
- package/dist/actions/Login/schema.js +120 -2
- package/dist/actions/Logout/schema.js +45 -2
- package/dist/actions/MagicLinkVerify/MagicLinkVerify.js +24 -0
- package/dist/actions/MagicLinkVerify/schema.js +64 -0
- package/dist/actions/OAuthConsent/OAuthConsent.js +24 -0
- package/dist/actions/OAuthConsent/schema.js +38 -0
- package/dist/actions/OAuthContinue/OAuthContinue.js +27 -0
- package/dist/actions/OAuthContinue/schema.js +22 -0
- package/dist/actions/PasskeyDelete/PasskeyDelete.js +18 -0
- package/dist/actions/PasskeyDelete/schema.js +16 -0
- package/dist/actions/PasskeyRegister/PasskeyRegister.js +21 -0
- package/dist/actions/PasskeyRegister/schema.js +21 -0
- package/dist/actions/PasskeySignIn/PasskeySignIn.js +21 -0
- package/dist/actions/PasskeySignIn/schema.js +59 -0
- package/dist/actions/PasskeyUpdate/PasskeyUpdate.js +18 -0
- package/dist/actions/PasskeyUpdate/schema.js +21 -0
- package/dist/actions/PhoneNumberSendOtp/PhoneNumberSendOtp.js +20 -0
- package/dist/actions/PhoneNumberSendOtp/schema.js +20 -0
- package/dist/actions/PhoneNumberVerify/PhoneNumberVerify.js +22 -0
- package/dist/actions/PhoneNumberVerify/schema.js +79 -0
- package/dist/actions/RemoveLocalStorage/RemoveLocalStorage.js +38 -0
- package/dist/actions/RemoveLocalStorage/schema.js +32 -0
- package/dist/actions/RequestPasswordReset/RequestPasswordReset.js +18 -0
- package/dist/actions/RequestPasswordReset/schema.js +25 -0
- package/dist/actions/ResetPassword/ResetPassword.js +18 -0
- package/dist/actions/ResetPassword/schema.js +28 -0
- package/dist/actions/ResetValidation/schema.js +42 -0
- package/dist/actions/RevokeOtherSessions/RevokeOtherSessions.js +20 -0
- package/dist/actions/RevokeOtherSessions/schema.js +6 -0
- package/dist/actions/SendVerificationEmail/SendVerificationEmail.js +20 -0
- package/dist/actions/SendVerificationEmail/schema.js +60 -0
- package/dist/actions/SetActiveOrganization/SetActiveOrganization.js +21 -0
- package/dist/actions/SetActiveOrganization/schema.js +17 -0
- package/dist/actions/SetDarkMode/SetDarkMode.js +2 -1
- package/dist/actions/SetLocalStorage/SetLocalStorage.js +43 -0
- package/dist/actions/SetLocalStorage/schema.js +36 -0
- package/dist/actions/SignUp/SignUp.js +18 -0
- package/dist/actions/SignUp/schema.js +65 -0
- package/dist/actions/TwoFactorDisable/TwoFactorDisable.js +18 -0
- package/dist/actions/TwoFactorDisable/schema.js +16 -0
- package/dist/actions/TwoFactorEnable/TwoFactorEnable.js +21 -0
- package/dist/actions/TwoFactorEnable/schema.js +16 -0
- package/dist/actions/TwoFactorGenerateBackupCodes/TwoFactorGenerateBackupCodes.js +21 -0
- package/dist/actions/TwoFactorGenerateBackupCodes/schema.js +16 -0
- package/dist/actions/TwoFactorVerify/TwoFactorVerify.js +21 -0
- package/dist/actions/TwoFactorVerify/schema.js +71 -0
- package/dist/actions/Validate/schema.js +42 -0
- package/dist/actions.js +29 -1
- package/dist/localStorage/parseStoredValue.js +28 -0
- package/dist/localStorage/readAppStorageItem.js +35 -0
- package/dist/localStorage/validateStorageKey.js +30 -0
- package/dist/schemas.js +29 -1
- package/dist/types.js +28 -0
- package/package.json +8 -4
|
@@ -12,6 +12,48 @@ export default {
|
|
|
12
12
|
type: 'string'
|
|
13
13
|
},
|
|
14
14
|
description: 'An array of blockIds to validate.'
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
type: 'boolean',
|
|
18
|
+
description: 'true matches every block on the page.'
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
type: 'object',
|
|
22
|
+
additionalProperties: false,
|
|
23
|
+
properties: {
|
|
24
|
+
blockIds: {
|
|
25
|
+
description: 'A blockId, a list of blockIds, or true for every block.',
|
|
26
|
+
oneOf: [
|
|
27
|
+
{
|
|
28
|
+
type: 'string'
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
type: 'array',
|
|
32
|
+
items: {
|
|
33
|
+
type: 'string'
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
type: 'boolean'
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
regex: {
|
|
42
|
+
description: 'A regular expression, or a list of them, matched against block ids.',
|
|
43
|
+
oneOf: [
|
|
44
|
+
{
|
|
45
|
+
type: 'string'
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
type: 'array',
|
|
49
|
+
items: {
|
|
50
|
+
type: 'string'
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
description: 'Blocks to match by id and by regular expression.'
|
|
15
57
|
}
|
|
16
58
|
]
|
|
17
59
|
}
|
package/dist/actions.js
CHANGED
|
@@ -12,27 +12,55 @@
|
|
|
12
12
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
13
|
See the License for the specific language governing permissions and
|
|
14
14
|
limitations under the License.
|
|
15
|
-
*/ export { default as
|
|
15
|
+
*/ export { default as AcceptInvitation } from './actions/AcceptInvitation/AcceptInvitation.js';
|
|
16
|
+
export { default as CallAPI } from './actions/CallAPI/CallAPI.js';
|
|
16
17
|
export { default as CallMethod } from './actions/CallMethod/CallMethod.js';
|
|
18
|
+
export { default as ChangePassword } from './actions/ChangePassword/ChangePassword.js';
|
|
17
19
|
export { default as CopyToClipboard } from './actions/CopyToClipboard/CopyToClipboard.js';
|
|
18
20
|
export { default as DisplayMessage } from './actions/DisplayMessage/DisplayMessage.js';
|
|
21
|
+
export { default as EmailOtpSend } from './actions/EmailOtpSend/EmailOtpSend.js';
|
|
22
|
+
export { default as EmailOtpVerify } from './actions/EmailOtpVerify/EmailOtpVerify.js';
|
|
19
23
|
export { default as Fetch } from './actions/Fetch/Fetch.js';
|
|
20
24
|
export { default as GeolocationCurrentPosition } from './actions/GeolocationCurrentPosition/GeolocationCurrentPosition.js';
|
|
25
|
+
export { default as GetLocalStorage } from './actions/GetLocalStorage/GetLocalStorage.js';
|
|
26
|
+
export { default as LeaveOrganization } from './actions/LeaveOrganization/LeaveOrganization.js';
|
|
21
27
|
export { default as Link } from './actions/Link/Link.js';
|
|
28
|
+
export { default as ListOrganizations } from './actions/ListOrganizations/ListOrganizations.js';
|
|
22
29
|
export { default as Login } from './actions/Login/Login.js';
|
|
23
30
|
export { default as Logout } from './actions/Logout/Logout.js';
|
|
31
|
+
export { default as MagicLinkVerify } from './actions/MagicLinkVerify/MagicLinkVerify.js';
|
|
32
|
+
export { default as OAuthConsent } from './actions/OAuthConsent/OAuthConsent.js';
|
|
33
|
+
export { default as OAuthContinue } from './actions/OAuthContinue/OAuthContinue.js';
|
|
34
|
+
export { default as PasskeyDelete } from './actions/PasskeyDelete/PasskeyDelete.js';
|
|
35
|
+
export { default as PasskeyRegister } from './actions/PasskeyRegister/PasskeyRegister.js';
|
|
36
|
+
export { default as PasskeySignIn } from './actions/PasskeySignIn/PasskeySignIn.js';
|
|
37
|
+
export { default as PasskeyUpdate } from './actions/PasskeyUpdate/PasskeyUpdate.js';
|
|
38
|
+
export { default as PhoneNumberSendOtp } from './actions/PhoneNumberSendOtp/PhoneNumberSendOtp.js';
|
|
39
|
+
export { default as PhoneNumberVerify } from './actions/PhoneNumberVerify/PhoneNumberVerify.js';
|
|
24
40
|
export { default as Publish } from './actions/Publish/Publish.js';
|
|
41
|
+
export { default as RemoveLocalStorage } from './actions/RemoveLocalStorage/RemoveLocalStorage.js';
|
|
25
42
|
export { default as Request } from './actions/Request/Request.js';
|
|
43
|
+
export { default as RequestPasswordReset } from './actions/RequestPasswordReset/RequestPasswordReset.js';
|
|
26
44
|
export { default as Reset } from './actions/Reset/Reset.js';
|
|
45
|
+
export { default as ResetPassword } from './actions/ResetPassword/ResetPassword.js';
|
|
27
46
|
export { default as ResetValidation } from './actions/ResetValidation/ResetValidation.js';
|
|
47
|
+
export { default as RevokeOtherSessions } from './actions/RevokeOtherSessions/RevokeOtherSessions.js';
|
|
28
48
|
export { default as ScrollTo } from './actions/ScrollTo/ScrollTo.js';
|
|
49
|
+
export { default as SendVerificationEmail } from './actions/SendVerificationEmail/SendVerificationEmail.js';
|
|
50
|
+
export { default as SetActiveOrganization } from './actions/SetActiveOrganization/SetActiveOrganization.js';
|
|
29
51
|
export { default as SetDarkMode } from './actions/SetDarkMode/SetDarkMode.js';
|
|
30
52
|
export { default as SetFocus } from './actions/SetFocus/SetFocus.js';
|
|
31
53
|
export { default as SetGlobal } from './actions/SetGlobal/SetGlobal.js';
|
|
32
54
|
export { default as SetLocale } from './actions/SetLocale/SetLocale.js';
|
|
55
|
+
export { default as SetLocalStorage } from './actions/SetLocalStorage/SetLocalStorage.js';
|
|
33
56
|
export { default as SetState } from './actions/SetState/SetState.js';
|
|
57
|
+
export { default as SignUp } from './actions/SignUp/SignUp.js';
|
|
34
58
|
export { default as Subscribe } from './actions/Subscribe/Subscribe.js';
|
|
35
59
|
export { default as Throw } from './actions/Throw/Throw.js';
|
|
60
|
+
export { default as TwoFactorDisable } from './actions/TwoFactorDisable/TwoFactorDisable.js';
|
|
61
|
+
export { default as TwoFactorEnable } from './actions/TwoFactorEnable/TwoFactorEnable.js';
|
|
62
|
+
export { default as TwoFactorGenerateBackupCodes } from './actions/TwoFactorGenerateBackupCodes/TwoFactorGenerateBackupCodes.js';
|
|
63
|
+
export { default as TwoFactorVerify } from './actions/TwoFactorVerify/TwoFactorVerify.js';
|
|
36
64
|
export { default as Unsubscribe } from './actions/Unsubscribe/Unsubscribe.js';
|
|
37
65
|
export { default as UpdateSession } from './actions/UpdateSession/UpdateSession.js';
|
|
38
66
|
export { default as Validate } from './actions/Validate/Validate.js';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ import { serializer } from '@lowdefy/helpers';
|
|
16
|
+
// Values written by SetLocalStorage are serialized JSON. Other writers - Lowdefy itself,
|
|
17
|
+
// other scripts or the user - may store plain strings, which are returned as they are.
|
|
18
|
+
function parseStoredValue(item) {
|
|
19
|
+
try {
|
|
20
|
+
return serializer.deserializeFromString(item);
|
|
21
|
+
} catch (error) {
|
|
22
|
+
if (error instanceof SyntaxError) {
|
|
23
|
+
return item;
|
|
24
|
+
}
|
|
25
|
+
throw error;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export default parseStoredValue;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ import { type } from '@lowdefy/helpers';
|
|
16
|
+
// Reads the value under the app's key. A value set before keys were kept per app sits under the
|
|
17
|
+
// bare key: the first read moves it to the app's key and removes the bare one.
|
|
18
|
+
function readAppStorageItem({ appKey, key, storage }) {
|
|
19
|
+
const item = storage.getItem(appKey);
|
|
20
|
+
if (!type.isNone(item)) {
|
|
21
|
+
return item;
|
|
22
|
+
}
|
|
23
|
+
const legacyItem = storage.getItem(key);
|
|
24
|
+
if (type.isNone(legacyItem)) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
try {
|
|
28
|
+
storage.setItem(appKey, legacyItem);
|
|
29
|
+
storage.removeItem(key);
|
|
30
|
+
} catch {
|
|
31
|
+
// A full quota keeps the value where it is; it is still read from the bare key.
|
|
32
|
+
}
|
|
33
|
+
return legacyItem;
|
|
34
|
+
}
|
|
35
|
+
export default readAppStorageItem;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ import { type } from '@lowdefy/helpers';
|
|
16
|
+
// Lowdefy keeps its own keys in the app's storage namespace under these prefixes, e.g.
|
|
17
|
+
// lowdefy_darkMode, lf-sider-open and the per-user keys under lowdefy_user:.
|
|
18
|
+
const RESERVED_PREFIXES = [
|
|
19
|
+
'lowdefy_',
|
|
20
|
+
'lf-'
|
|
21
|
+
];
|
|
22
|
+
function validateStorageKey({ actionType, key }) {
|
|
23
|
+
if (!type.isString(key) || key === '') {
|
|
24
|
+
throw new Error(`${actionType} "key" should be a non-empty string.`);
|
|
25
|
+
}
|
|
26
|
+
if (RESERVED_PREFIXES.some((prefix)=>key.startsWith(prefix))) {
|
|
27
|
+
throw new Error(`${actionType} "key" "${key}" is reserved. Keys starting with "lowdefy_" or "lf-" are used internally by Lowdefy.`);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export default validateStorageKey;
|
package/dist/schemas.js
CHANGED
|
@@ -12,27 +12,55 @@
|
|
|
12
12
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
13
|
See the License for the specific language governing permissions and
|
|
14
14
|
limitations under the License.
|
|
15
|
-
*/ export { default as
|
|
15
|
+
*/ export { default as AcceptInvitation } from './actions/AcceptInvitation/schema.js';
|
|
16
|
+
export { default as CallAPI } from './actions/CallAPI/schema.js';
|
|
16
17
|
export { default as CallMethod } from './actions/CallMethod/schema.js';
|
|
18
|
+
export { default as ChangePassword } from './actions/ChangePassword/schema.js';
|
|
17
19
|
export { default as CopyToClipboard } from './actions/CopyToClipboard/schema.js';
|
|
18
20
|
export { default as DisplayMessage } from './actions/DisplayMessage/schema.js';
|
|
21
|
+
export { default as EmailOtpSend } from './actions/EmailOtpSend/schema.js';
|
|
22
|
+
export { default as EmailOtpVerify } from './actions/EmailOtpVerify/schema.js';
|
|
19
23
|
export { default as Fetch } from './actions/Fetch/schema.js';
|
|
20
24
|
export { default as GeolocationCurrentPosition } from './actions/GeolocationCurrentPosition/schema.js';
|
|
25
|
+
export { default as GetLocalStorage } from './actions/GetLocalStorage/schema.js';
|
|
26
|
+
export { default as LeaveOrganization } from './actions/LeaveOrganization/schema.js';
|
|
21
27
|
export { default as Link } from './actions/Link/schema.js';
|
|
28
|
+
export { default as ListOrganizations } from './actions/ListOrganizations/schema.js';
|
|
22
29
|
export { default as Login } from './actions/Login/schema.js';
|
|
23
30
|
export { default as Logout } from './actions/Logout/schema.js';
|
|
31
|
+
export { default as MagicLinkVerify } from './actions/MagicLinkVerify/schema.js';
|
|
32
|
+
export { default as OAuthConsent } from './actions/OAuthConsent/schema.js';
|
|
33
|
+
export { default as OAuthContinue } from './actions/OAuthContinue/schema.js';
|
|
34
|
+
export { default as PasskeyDelete } from './actions/PasskeyDelete/schema.js';
|
|
35
|
+
export { default as PasskeyRegister } from './actions/PasskeyRegister/schema.js';
|
|
36
|
+
export { default as PasskeySignIn } from './actions/PasskeySignIn/schema.js';
|
|
37
|
+
export { default as PasskeyUpdate } from './actions/PasskeyUpdate/schema.js';
|
|
38
|
+
export { default as PhoneNumberSendOtp } from './actions/PhoneNumberSendOtp/schema.js';
|
|
39
|
+
export { default as PhoneNumberVerify } from './actions/PhoneNumberVerify/schema.js';
|
|
24
40
|
export { default as Publish } from './actions/Publish/schema.js';
|
|
41
|
+
export { default as RemoveLocalStorage } from './actions/RemoveLocalStorage/schema.js';
|
|
25
42
|
export { default as Request } from './actions/Request/schema.js';
|
|
43
|
+
export { default as RequestPasswordReset } from './actions/RequestPasswordReset/schema.js';
|
|
26
44
|
export { default as Reset } from './actions/Reset/schema.js';
|
|
45
|
+
export { default as ResetPassword } from './actions/ResetPassword/schema.js';
|
|
27
46
|
export { default as ResetValidation } from './actions/ResetValidation/schema.js';
|
|
47
|
+
export { default as RevokeOtherSessions } from './actions/RevokeOtherSessions/schema.js';
|
|
28
48
|
export { default as ScrollTo } from './actions/ScrollTo/schema.js';
|
|
49
|
+
export { default as SendVerificationEmail } from './actions/SendVerificationEmail/schema.js';
|
|
50
|
+
export { default as SetActiveOrganization } from './actions/SetActiveOrganization/schema.js';
|
|
29
51
|
export { default as SetDarkMode } from './actions/SetDarkMode/schema.js';
|
|
30
52
|
export { default as SetFocus } from './actions/SetFocus/schema.js';
|
|
31
53
|
export { default as SetGlobal } from './actions/SetGlobal/schema.js';
|
|
32
54
|
export { default as SetLocale } from './actions/SetLocale/schema.js';
|
|
55
|
+
export { default as SetLocalStorage } from './actions/SetLocalStorage/schema.js';
|
|
33
56
|
export { default as SetState } from './actions/SetState/schema.js';
|
|
57
|
+
export { default as SignUp } from './actions/SignUp/schema.js';
|
|
34
58
|
export { default as Subscribe } from './actions/Subscribe/schema.js';
|
|
35
59
|
export { default as Throw } from './actions/Throw/schema.js';
|
|
60
|
+
export { default as TwoFactorDisable } from './actions/TwoFactorDisable/schema.js';
|
|
61
|
+
export { default as TwoFactorEnable } from './actions/TwoFactorEnable/schema.js';
|
|
62
|
+
export { default as TwoFactorGenerateBackupCodes } from './actions/TwoFactorGenerateBackupCodes/schema.js';
|
|
63
|
+
export { default as TwoFactorVerify } from './actions/TwoFactorVerify/schema.js';
|
|
36
64
|
export { default as Unsubscribe } from './actions/Unsubscribe/schema.js';
|
|
37
65
|
export { default as UpdateSession } from './actions/UpdateSession/schema.js';
|
|
38
66
|
export { default as Validate } from './actions/Validate/schema.js';
|
package/dist/types.js
CHANGED
|
@@ -14,27 +14,55 @@
|
|
|
14
14
|
limitations under the License.
|
|
15
15
|
*/ export default {
|
|
16
16
|
actions: [
|
|
17
|
+
'AcceptInvitation',
|
|
17
18
|
'CallAPI',
|
|
18
19
|
'CallMethod',
|
|
20
|
+
'ChangePassword',
|
|
19
21
|
'CopyToClipboard',
|
|
20
22
|
'DisplayMessage',
|
|
23
|
+
'EmailOtpSend',
|
|
24
|
+
'EmailOtpVerify',
|
|
21
25
|
'Fetch',
|
|
22
26
|
'GeolocationCurrentPosition',
|
|
27
|
+
'GetLocalStorage',
|
|
28
|
+
'LeaveOrganization',
|
|
23
29
|
'Link',
|
|
30
|
+
'ListOrganizations',
|
|
24
31
|
'Login',
|
|
25
32
|
'Logout',
|
|
33
|
+
'MagicLinkVerify',
|
|
34
|
+
'OAuthConsent',
|
|
35
|
+
'OAuthContinue',
|
|
36
|
+
'PasskeyDelete',
|
|
37
|
+
'PasskeyRegister',
|
|
38
|
+
'PasskeySignIn',
|
|
39
|
+
'PasskeyUpdate',
|
|
40
|
+
'PhoneNumberSendOtp',
|
|
41
|
+
'PhoneNumberVerify',
|
|
26
42
|
'Publish',
|
|
43
|
+
'RemoveLocalStorage',
|
|
27
44
|
'Request',
|
|
45
|
+
'RequestPasswordReset',
|
|
28
46
|
'Reset',
|
|
47
|
+
'ResetPassword',
|
|
29
48
|
'ResetValidation',
|
|
49
|
+
'RevokeOtherSessions',
|
|
30
50
|
'ScrollTo',
|
|
51
|
+
'SendVerificationEmail',
|
|
52
|
+
'SetActiveOrganization',
|
|
31
53
|
'SetDarkMode',
|
|
32
54
|
'SetFocus',
|
|
33
55
|
'SetGlobal',
|
|
34
56
|
'SetLocale',
|
|
57
|
+
'SetLocalStorage',
|
|
35
58
|
'SetState',
|
|
59
|
+
'SignUp',
|
|
36
60
|
'Subscribe',
|
|
37
61
|
'Throw',
|
|
62
|
+
'TwoFactorDisable',
|
|
63
|
+
'TwoFactorEnable',
|
|
64
|
+
'TwoFactorGenerateBackupCodes',
|
|
65
|
+
'TwoFactorVerify',
|
|
38
66
|
'Unsubscribe',
|
|
39
67
|
'UpdateSession',
|
|
40
68
|
'Validate',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/actions-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
"url": "https://github.com/lowdefy/lowdefy.git"
|
|
36
36
|
},
|
|
37
37
|
"type": "module",
|
|
38
|
+
"sideEffects": [
|
|
39
|
+
"**/*.css"
|
|
40
|
+
],
|
|
38
41
|
"exports": {
|
|
39
42
|
"./actions": "./dist/actions.js",
|
|
40
43
|
"./schemas": "./dist/schemas.js",
|
|
@@ -44,12 +47,13 @@
|
|
|
44
47
|
"dist/*"
|
|
45
48
|
],
|
|
46
49
|
"dependencies": {
|
|
47
|
-
"@lowdefy/errors": "
|
|
48
|
-
"@lowdefy/helpers": "
|
|
50
|
+
"@lowdefy/errors": "7.1.0",
|
|
51
|
+
"@lowdefy/helpers": "7.1.0"
|
|
49
52
|
},
|
|
50
53
|
"devDependencies": {
|
|
51
54
|
"@jest/globals": "28.1.3",
|
|
52
|
-
"@lowdefy/
|
|
55
|
+
"@lowdefy/ajv": "7.1.0",
|
|
56
|
+
"@lowdefy/node-utils": "7.1.0",
|
|
53
57
|
"@swc/cli": "0.8.1",
|
|
54
58
|
"@swc/core": "1.15.32",
|
|
55
59
|
"@swc/jest": "0.2.39",
|