@bitrix24/b24jssdk-nuxt 0.1.1 → 0.1.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/dist/module.d.mts +2 -1
- package/dist/module.d.ts +2 -1
- package/dist/module.json +2 -2
- 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 +7 -1
- package/dist/types.d.ts +7 -1
- package/package.json +67 -69
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.d.ts
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
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
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NuxtModule } from '@nuxt/schema'
|
|
2
|
+
|
|
3
|
+
import type { default as Module } from './module.js'
|
|
4
|
+
|
|
5
|
+
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
6
|
+
|
|
7
|
+
export { default } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NuxtModule } from '@nuxt/schema'
|
|
2
|
+
|
|
3
|
+
import type { default as Module } from './module'
|
|
4
|
+
|
|
5
|
+
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
6
|
+
|
|
7
|
+
export { default } from './module'
|
package/package.json
CHANGED
|
@@ -1,70 +1,68 @@
|
|
|
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.2",
|
|
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.ts",
|
|
21
|
+
"import": "./dist/module.mjs",
|
|
22
|
+
"require": "./dist/module.cjs"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"main": "./dist/module.cjs",
|
|
26
|
+
"types": "./dist/types.d.ts",
|
|
27
|
+
"files": [
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE",
|
|
30
|
+
"dist"
|
|
31
|
+
],
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@nuxt/kit": "^3.16.2",
|
|
37
|
+
"@nuxt/schema": "^3.16.2",
|
|
38
|
+
"@bitrix24/b24jssdk": "^0.1.7",
|
|
39
|
+
"axios": "^1.8.4",
|
|
40
|
+
"qs": "^6.14.0",
|
|
41
|
+
"luxon": "^3.6.1"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@types/luxon": "^3.6.0",
|
|
46
|
+
"@nuxt/devtools": "^1.6.0",
|
|
47
|
+
"@nuxt/eslint-config": "^1.3.0",
|
|
48
|
+
"@nuxt/module-builder": "^0.8.4",
|
|
49
|
+
"@nuxt/test-utils": "^3.17.2",
|
|
50
|
+
"@types/node": "latest",
|
|
51
|
+
"eslint": "^9.23.0",
|
|
52
|
+
"nuxt": "^3.16.2",
|
|
53
|
+
"typescript": "^5.6.3",
|
|
54
|
+
"vitest": "^3.1.1",
|
|
55
|
+
"vue-tsc": "^2.2.0"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
59
|
+
"build": "nuxt-module-build build",
|
|
60
|
+
"dev": "DEV=true nuxi dev playground",
|
|
61
|
+
"dev:build": "nuxi build playground",
|
|
62
|
+
"dev:generate": "nuxt generate playground",
|
|
63
|
+
"dev:preview": "nuxt preview playground",
|
|
64
|
+
"lint": "eslint .",
|
|
65
|
+
"typecheck": "vue-tsc --noEmit",
|
|
66
|
+
"test": "vitest"
|
|
67
|
+
}
|
|
68
|
+
}
|