@bitrix24/b24jssdk-nuxt 0.1.1 → 0.1.3
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/module.d.mts +2 -1
- package/dist/module.json +4 -4
- package/dist/module.mjs +4 -6
- package/dist/runtime/plugin.d.ts +2 -2
- package/dist/runtime/plugin.js +1 -1
- package/dist/types.d.mts +3 -1
- package/package.json +75 -69
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -6
- package/dist/types.d.ts +0 -1
package/dist/module.d.mts
CHANGED
|
@@ -3,4 +3,5 @@ import * as _nuxt_schema from '@nuxt/schema';
|
|
|
3
3
|
type ModuleOptions = object;
|
|
4
4
|
declare const _default: _nuxt_schema.NuxtModule<object, object, false>;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { _default as default };
|
|
7
|
+
export type { ModuleOptions };
|
package/dist/module.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrix24/b24jssdk-nuxt",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"configKey": "B24JsSdkNuxt",
|
|
5
5
|
"compatibility": {
|
|
6
|
-
"nuxt": ">=3.
|
|
6
|
+
"nuxt": ">=3.16.0"
|
|
7
7
|
},
|
|
8
8
|
"builder": {
|
|
9
|
-
"@nuxt/module-builder": "0.
|
|
10
|
-
"unbuild": "
|
|
9
|
+
"@nuxt/module-builder": "1.0.1",
|
|
10
|
+
"unbuild": "3.5.0"
|
|
11
11
|
}
|
|
12
12
|
}
|
package/dist/module.mjs
CHANGED
|
@@ -3,18 +3,16 @@ import { defineNuxtModule, createResolver, addPlugin } from '@nuxt/kit';
|
|
|
3
3
|
const module = defineNuxtModule({
|
|
4
4
|
meta: {
|
|
5
5
|
name: "@bitrix24/b24jssdk-nuxt",
|
|
6
|
-
version: "0.1.
|
|
6
|
+
version: "0.1.2",
|
|
7
7
|
configKey: "B24JsSdkNuxt",
|
|
8
8
|
compatibility: {
|
|
9
|
-
nuxt: ">=3.
|
|
9
|
+
nuxt: ">=3.16.0"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
defaults: {},
|
|
13
|
-
setup(_options, _nuxt) {
|
|
13
|
+
async setup(_options, _nuxt) {
|
|
14
14
|
const resolver = createResolver(import.meta.url);
|
|
15
|
-
addPlugin({
|
|
16
|
-
src: resolver.resolve("./runtime/plugin")
|
|
17
|
-
});
|
|
15
|
+
addPlugin({ src: resolver.resolve("./runtime/plugin") });
|
|
18
16
|
}
|
|
19
17
|
});
|
|
20
18
|
|
package/dist/runtime/plugin.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import { initializeB24Frame } from '@bitrix24/b24jssdk';
|
|
|
2
2
|
/**
|
|
3
3
|
* Connecting api.bitrix24 (singleton)
|
|
4
4
|
*/
|
|
5
|
-
declare const _default: import("
|
|
5
|
+
declare const _default: import("nuxt/app").Plugin<{
|
|
6
6
|
initializeB24Frame: typeof initializeB24Frame;
|
|
7
|
-
}> & import("
|
|
7
|
+
}> & import("nuxt/app").ObjectPlugin<{
|
|
8
8
|
initializeB24Frame: typeof initializeB24Frame;
|
|
9
9
|
}>;
|
|
10
10
|
export default _default;
|
package/dist/runtime/plugin.js
CHANGED
package/dist/types.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,70 +1,76 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
2
|
+
"name": "@bitrix24/b24jssdk-nuxt",
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"author": "Bitrix",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"description": "Bitrix24 REST API JS SDK for Nuxt",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"bitrix24",
|
|
9
|
+
"restapi",
|
|
10
|
+
"nuxt"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://bitrix24.github.io/b24jssdk/",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/bitrix24/b24jssdk-nuxt.git"
|
|
16
|
+
},
|
|
17
|
+
"type": "module",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/types.d.mts",
|
|
21
|
+
"import": "./dist/module.mjs"
|
|
22
|
+
},
|
|
23
|
+
"./runtime/*": "./dist/runtime/*"
|
|
24
|
+
},
|
|
25
|
+
"main": "./dist/module.mjs",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"*": {
|
|
28
|
+
".": [
|
|
29
|
+
"./dist/module.d.mts"
|
|
30
|
+
],
|
|
31
|
+
"runtime/*": [
|
|
32
|
+
"./dist/runtime/*"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"README.md",
|
|
38
|
+
"LICENSE",
|
|
39
|
+
"dist"
|
|
40
|
+
],
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@nuxt/kit": "^3.16.2",
|
|
46
|
+
"@nuxt/schema": "^3.16.2",
|
|
47
|
+
"@bitrix24/b24jssdk": "^0.2.0",
|
|
48
|
+
"axios": "^1.8.4",
|
|
49
|
+
"qs": "^6.14.0",
|
|
50
|
+
"luxon": "^3.6.1"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/luxon": "^3.6.2",
|
|
54
|
+
"@nuxt/devtools": "^2.4.0",
|
|
55
|
+
"@nuxt/eslint-config": "^1.3.0",
|
|
56
|
+
"@nuxt/module-builder": "^1.0.1",
|
|
57
|
+
"@nuxt/test-utils": "^3.17.2",
|
|
58
|
+
"@types/node": "^22.14.1",
|
|
59
|
+
"eslint": "^9.25.1",
|
|
60
|
+
"nuxt": "^3.16.2",
|
|
61
|
+
"typescript": "^5.8.3",
|
|
62
|
+
"vitest": "^3.1.2",
|
|
63
|
+
"vue-tsc": "^2.2.10"
|
|
64
|
+
},
|
|
65
|
+
"scripts": {
|
|
66
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
67
|
+
"build": "nuxt-module-build build",
|
|
68
|
+
"dev": "DEV=true nuxi dev playground",
|
|
69
|
+
"dev:build": "nuxi build playground",
|
|
70
|
+
"dev:generate": "nuxt generate playground",
|
|
71
|
+
"dev:preview": "nuxt preview playground",
|
|
72
|
+
"lint": "eslint .",
|
|
73
|
+
"typecheck": "vue-tsc --noEmit",
|
|
74
|
+
"test": "vitest"
|
|
75
|
+
}
|
|
76
|
+
}
|
package/dist/module.cjs
DELETED
package/dist/module.d.ts
DELETED
package/dist/types.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { type ModuleOptions, default } from './module'
|