@bbn/bbn 1.0.485 → 1.0.486
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/bbn.js +1 -1
- package/dist/bbn.js.map +1 -1
- package/dist/fn/ajax/getLoader.d.ts +1 -1
- package/dist/fn/ajax/getLoader.js +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -3
- package/package.json +1 -2
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* The loader is an object representing an Ajax request, with the following properties:
|
|
5
5
|
* * _key_ is the unique ID (_requestId_) of the loader
|
|
6
6
|
* * _url_ is the URL called by the request
|
|
7
|
-
* * _loader_ is the Promise from the
|
|
7
|
+
* * _loader_ is the Promise from the XHR
|
|
8
8
|
* * _source_ is the source object for aborting the request
|
|
9
9
|
* * _start_ is the timestamp of the moment the request was sent
|
|
10
10
|
*
|
|
@@ -5,7 +5,7 @@ import search from '../object/search.js';
|
|
|
5
5
|
* The loader is an object representing an Ajax request, with the following properties:
|
|
6
6
|
* * _key_ is the unique ID (_requestId_) of the loader
|
|
7
7
|
* * _url_ is the URL called by the request
|
|
8
|
-
* * _loader_ is the Promise from the
|
|
8
|
+
* * _loader_ is the Promise from the XHR
|
|
9
9
|
* * _source_ is the source object for aborting the request
|
|
10
10
|
* * _start_ is the timestamp of the moment the request was sent
|
|
11
11
|
*
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import axios from 'axios';
|
|
2
1
|
import dayjs from 'dayjs';
|
|
3
2
|
import calendar from 'dayjs/plugin/calendar.js';
|
|
4
3
|
import customParseFormat from 'dayjs/plugin/customParseFormat.js';
|
|
@@ -128,8 +127,7 @@ const bbn = {
|
|
|
128
127
|
]
|
|
129
128
|
};
|
|
130
129
|
if ('undefined' !== typeof window) {
|
|
131
|
-
window.axios = axios;
|
|
132
130
|
window.dayjs = dayjs;
|
|
133
131
|
window.bbn = bbn;
|
|
134
132
|
}
|
|
135
|
-
export { bbn as default, bbn, dayjs
|
|
133
|
+
export { bbn as default, bbn, dayjs };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bbn/bbn",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.486",
|
|
4
4
|
"description": "Javascript toolkit",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
"@rollup/plugin-replace": "^6.0.2",
|
|
45
45
|
"@rollup/plugin-terser": "^0.4.4",
|
|
46
46
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
47
|
-
"axios": "^1.11.0",
|
|
48
47
|
"dayjs": "^1.11.13",
|
|
49
48
|
"rollup": "^4.46.1",
|
|
50
49
|
"tslib": "^2.8.1"
|