@bbn/bbn 2.0.25 → 2.0.26

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.ts CHANGED
@@ -1,2 +1,3 @@
1
+ import { Temporal } from 'temporal-polyfill';
1
2
  declare const bbn: Bbn;
2
- export { bbn as default, bbn };
3
+ export { bbn as default, bbn, Temporal };
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { Temporal } from 'temporal-polyfill';
1
2
  import _ from './_.js';
2
3
  import $ from './$.js';
3
4
  import lng from './lng.js';
@@ -95,5 +96,8 @@ const bbn = {
95
96
  };
96
97
  if ('undefined' !== typeof window) {
97
98
  window.bbn = bbn;
99
+ if (!window.Temporal) {
100
+ window.Temporal = Temporal;
101
+ }
98
102
  }
99
- export { bbn as default, bbn };
103
+ export { bbn as default, bbn, Temporal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "2.0.25",
3
+ "version": "2.0.26",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",