native-fn 1.0.86 → 1.0.88

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
@@ -21,20 +21,13 @@ declare type NativeBase<Plugins, AssignedConstants extends Record<string, any> =
21
21
  Version: string;
22
22
  Constants: AssignedConstants;
23
23
  Errors: AssignedErrors;
24
- extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => NativeBase<Plugins & {
24
+ extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => asserts this is NativeBase<Plugins & {
25
25
  [Plugin in Key]: Module;
26
26
  }, AssignedConstants & Constants, AssignedErrors & Errors>;
27
27
  } & Plugins;
28
28
  type NativeInstance = NativeBase<NativePlugins, NativeConstants, NativeErrors>;
29
29
 
30
- declare const Native: {
31
- Version: string;
32
- Constants: {};
33
- Errors: {
34
- PluginNotExtendedError: ErrorConstructor;
35
- };
36
- extends<Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<any, any, any>, plugin: NativePlugin<Key, Module, Constants, Errors>): ExtendedNativeBase<Key, Module, Constants, Errors>;
37
- };
30
+ declare const Native: NativeInstance;
38
31
 
39
32
  export { Native as default };
40
33
  export type { ExtendedNativeBase, NativeBase, NativeConstants, NativeErrors, NativeInstance, NativePlugin, NativePlugins };
package/dist/native.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var version = "1.0.86";
3
+ var version = "1.0.88";
4
4
  var packageJSON = {
5
5
  version: version};
6
6
 
@@ -1 +1 @@
1
- "use strict";var t="1.0.86";function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=Object(t[0]),o=1;o<t.length;o++){var a=t[o];if(null!=a)for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(r[n]=a[n])}return r}var r=function(t,e){function r(o){if(!(this instanceof r))return new r(o);var a=new e(o||"");if("function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(a,r.prototype):a.__proto__=r.prototype,a.name=t,void 0!==o&&(a.message=o),"undefined"!=typeof Symbol&&Symbol.toStringTag)try{Object.defineProperty(a,Symbol.toStringTag,{value:t,writable:!1,enumerable:!1,configurable:!0})}catch(t){}if("function"==typeof Error.captureStackTrace)Error.captureStackTrace(a,r);else if(e.captureStackTrace&&"function"==typeof e.captureStackTrace)e.captureStackTrace(a,r);else try{var n=new e;n.stack&&(a.stack=n.stack)}catch(t){}return a}void 0===e&&(e=Error),r.prototype=Object.create(e.prototype,{constructor:{value:r,writable:!0,enumerable:!1,configurable:!0}});try{Object.defineProperty(r.prototype,"name",{value:t,writable:!0,enumerable:!1,configurable:!0})}catch(e){try{r.prototype.name=t}catch(t){}}try{Object.defineProperty(r,"name",{value:t,writable:!1,enumerable:!1,configurable:!0})}catch(t){}return r}("PluginNotExtendedError");!function(){if("object"!=typeof globalThis){Object.defineProperty(Object.prototype,"__getGlobalThis__",{get:function(){return this},configurable:!0});try{var t=__getGlobalThis__;Object.defineProperty(t,"globalThis",{value:t,writable:!0,configurable:!0})}finally{delete Object.prototype.__getGlobalThis__}}}();var o={Version:t,Constants:{},Errors:{PluginNotExtendedError:r},extends:function(t){return t.installed||(this.Constants=e(this.Constants,t.Constants),this.Errors=e(this.Errors,t.Errors),this[t.name]=t.module,t.installed=!0),this}};module.exports=o;
1
+ "use strict";var t="1.0.88";function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=Object(t[0]),o=1;o<t.length;o++){var a=t[o];if(null!=a)for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(r[n]=a[n])}return r}var r=function(t,e){function r(o){if(!(this instanceof r))return new r(o);var a=new e(o||"");if("function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(a,r.prototype):a.__proto__=r.prototype,a.name=t,void 0!==o&&(a.message=o),"undefined"!=typeof Symbol&&Symbol.toStringTag)try{Object.defineProperty(a,Symbol.toStringTag,{value:t,writable:!1,enumerable:!1,configurable:!0})}catch(t){}if("function"==typeof Error.captureStackTrace)Error.captureStackTrace(a,r);else if(e.captureStackTrace&&"function"==typeof e.captureStackTrace)e.captureStackTrace(a,r);else try{var n=new e;n.stack&&(a.stack=n.stack)}catch(t){}return a}void 0===e&&(e=Error),r.prototype=Object.create(e.prototype,{constructor:{value:r,writable:!0,enumerable:!1,configurable:!0}});try{Object.defineProperty(r.prototype,"name",{value:t,writable:!0,enumerable:!1,configurable:!0})}catch(e){try{r.prototype.name=t}catch(t){}}try{Object.defineProperty(r,"name",{value:t,writable:!1,enumerable:!1,configurable:!0})}catch(t){}return r}("PluginNotExtendedError");!function(){if("object"!=typeof globalThis){Object.defineProperty(Object.prototype,"__getGlobalThis__",{get:function(){return this},configurable:!0});try{var t=__getGlobalThis__;Object.defineProperty(t,"globalThis",{value:t,writable:!0,configurable:!0})}finally{delete Object.prototype.__getGlobalThis__}}}();var o={Version:t,Constants:{},Errors:{PluginNotExtendedError:r},extends:function(t){return t.installed||(this.Constants=e(this.Constants,t.Constants),this.Errors=e(this.Errors,t.Errors),this[t.name]=t.module,t.installed=!0),this}};module.exports=o;
@@ -1 +1 @@
1
- var t="1.0.86";function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=Object(t[0]),o=1;o<t.length;o++){var a=t[o];if(null!=a)for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(r[n]=a[n])}return r}var r=function(t,e){function r(o){if(!(this instanceof r))return new r(o);var a=new e(o||"");if("function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(a,r.prototype):a.__proto__=r.prototype,a.name=t,void 0!==o&&(a.message=o),"undefined"!=typeof Symbol&&Symbol.toStringTag)try{Object.defineProperty(a,Symbol.toStringTag,{value:t,writable:!1,enumerable:!1,configurable:!0})}catch(t){}if("function"==typeof Error.captureStackTrace)Error.captureStackTrace(a,r);else if(e.captureStackTrace&&"function"==typeof e.captureStackTrace)e.captureStackTrace(a,r);else try{var n=new e;n.stack&&(a.stack=n.stack)}catch(t){}return a}void 0===e&&(e=Error),r.prototype=Object.create(e.prototype,{constructor:{value:r,writable:!0,enumerable:!1,configurable:!0}});try{Object.defineProperty(r.prototype,"name",{value:t,writable:!0,enumerable:!1,configurable:!0})}catch(e){try{r.prototype.name=t}catch(t){}}try{Object.defineProperty(r,"name",{value:t,writable:!1,enumerable:!1,configurable:!0})}catch(t){}return r}("PluginNotExtendedError");!function(){if("object"!=typeof globalThis){Object.defineProperty(Object.prototype,"__getGlobalThis__",{get:function(){return this},configurable:!0});try{var t=__getGlobalThis__;Object.defineProperty(t,"globalThis",{value:t,writable:!0,configurable:!0})}finally{delete Object.prototype.__getGlobalThis__}}}();var o={Version:t,Constants:{},Errors:{PluginNotExtendedError:r},extends:function(t){return t.installed||(this.Constants=e(this.Constants,t.Constants),this.Errors=e(this.Errors,t.Errors),this[t.name]=t.module,t.installed=!0),this}};export{o as default};
1
+ var t="1.0.88";function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=Object(t[0]),o=1;o<t.length;o++){var a=t[o];if(null!=a)for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(r[n]=a[n])}return r}var r=function(t,e){function r(o){if(!(this instanceof r))return new r(o);var a=new e(o||"");if("function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(a,r.prototype):a.__proto__=r.prototype,a.name=t,void 0!==o&&(a.message=o),"undefined"!=typeof Symbol&&Symbol.toStringTag)try{Object.defineProperty(a,Symbol.toStringTag,{value:t,writable:!1,enumerable:!1,configurable:!0})}catch(t){}if("function"==typeof Error.captureStackTrace)Error.captureStackTrace(a,r);else if(e.captureStackTrace&&"function"==typeof e.captureStackTrace)e.captureStackTrace(a,r);else try{var n=new e;n.stack&&(a.stack=n.stack)}catch(t){}return a}void 0===e&&(e=Error),r.prototype=Object.create(e.prototype,{constructor:{value:r,writable:!0,enumerable:!1,configurable:!0}});try{Object.defineProperty(r.prototype,"name",{value:t,writable:!0,enumerable:!1,configurable:!0})}catch(e){try{r.prototype.name=t}catch(t){}}try{Object.defineProperty(r,"name",{value:t,writable:!1,enumerable:!1,configurable:!0})}catch(t){}return r}("PluginNotExtendedError");!function(){if("object"!=typeof globalThis){Object.defineProperty(Object.prototype,"__getGlobalThis__",{get:function(){return this},configurable:!0});try{var t=__getGlobalThis__;Object.defineProperty(t,"globalThis",{value:t,writable:!0,configurable:!0})}finally{delete Object.prototype.__getGlobalThis__}}}();var o={Version:t,Constants:{},Errors:{PluginNotExtendedError:r},extends:function(t){return t.installed||(this.Constants=e(this.Constants,t.Constants),this.Errors=e(this.Errors,t.Errors),this[t.name]=t.module,t.installed=!0),this}};export{o as default};
package/dist/native.mjs CHANGED
@@ -1,4 +1,4 @@
1
- var version = "1.0.86";
1
+ var version = "1.0.88";
2
2
  var packageJSON = {
3
3
  version: version};
4
4
 
@@ -4,7 +4,7 @@
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Native = factory());
5
5
  })(this, (function () { 'use strict';
6
6
 
7
- var version = "1.0.86";
7
+ var version = "1.0.88";
8
8
  var packageJSON = {
9
9
  version: version};
10
10
 
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Native=t()}(this,(function(){"use strict";var e="1.0.86";function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=Object(e[0]),o=1;o<e.length;o++){var n=e[o];if(null!=n)for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&"__proto__"!==a&&"constructor"!==a&&"prototype"!==a&&(r[a]=n[a])}return r}var r=function(e,t){function r(o){if(!(this instanceof r))return new r(o);var n=new t(o||"");if("function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(n,r.prototype):n.__proto__=r.prototype,n.name=e,void 0!==o&&(n.message=o),"undefined"!=typeof Symbol&&Symbol.toStringTag)try{Object.defineProperty(n,Symbol.toStringTag,{value:e,writable:!1,enumerable:!1,configurable:!0})}catch(e){}if("function"==typeof Error.captureStackTrace)Error.captureStackTrace(n,r);else if(t.captureStackTrace&&"function"==typeof t.captureStackTrace)t.captureStackTrace(n,r);else try{var a=new t;a.stack&&(n.stack=a.stack)}catch(e){}return n}void 0===t&&(t=Error),r.prototype=Object.create(t.prototype,{constructor:{value:r,writable:!0,enumerable:!1,configurable:!0}});try{Object.defineProperty(r.prototype,"name",{value:e,writable:!0,enumerable:!1,configurable:!0})}catch(t){try{r.prototype.name=e}catch(e){}}try{Object.defineProperty(r,"name",{value:e,writable:!1,enumerable:!1,configurable:!0})}catch(e){}return r}("PluginNotExtendedError");return function(){if("object"!=typeof globalThis){Object.defineProperty(Object.prototype,"__getGlobalThis__",{get:function(){return this},configurable:!0});try{var e=__getGlobalThis__;Object.defineProperty(e,"globalThis",{value:e,writable:!0,configurable:!0})}finally{delete Object.prototype.__getGlobalThis__}}}(),{Version:e,Constants:{},Errors:{PluginNotExtendedError:r},extends:function(e){return e.installed||(this.Constants=t(this.Constants,e.Constants),this.Errors=t(this.Errors,e.Errors),this[e.name]=e.module,e.installed=!0),this}}}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Native=t()}(this,(function(){"use strict";var e="1.0.88";function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=Object(e[0]),o=1;o<e.length;o++){var n=e[o];if(null!=n)for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&"__proto__"!==a&&"constructor"!==a&&"prototype"!==a&&(r[a]=n[a])}return r}var r=function(e,t){function r(o){if(!(this instanceof r))return new r(o);var n=new t(o||"");if("function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(n,r.prototype):n.__proto__=r.prototype,n.name=e,void 0!==o&&(n.message=o),"undefined"!=typeof Symbol&&Symbol.toStringTag)try{Object.defineProperty(n,Symbol.toStringTag,{value:e,writable:!1,enumerable:!1,configurable:!0})}catch(e){}if("function"==typeof Error.captureStackTrace)Error.captureStackTrace(n,r);else if(t.captureStackTrace&&"function"==typeof t.captureStackTrace)t.captureStackTrace(n,r);else try{var a=new t;a.stack&&(n.stack=a.stack)}catch(e){}return n}void 0===t&&(t=Error),r.prototype=Object.create(t.prototype,{constructor:{value:r,writable:!0,enumerable:!1,configurable:!0}});try{Object.defineProperty(r.prototype,"name",{value:e,writable:!0,enumerable:!1,configurable:!0})}catch(t){try{r.prototype.name=e}catch(e){}}try{Object.defineProperty(r,"name",{value:e,writable:!1,enumerable:!1,configurable:!0})}catch(e){}return r}("PluginNotExtendedError");return function(){if("object"!=typeof globalThis){Object.defineProperty(Object.prototype,"__getGlobalThis__",{get:function(){return this},configurable:!0});try{var e=__getGlobalThis__;Object.defineProperty(e,"globalThis",{value:e,writable:!0,configurable:!0})}finally{delete Object.prototype.__getGlobalThis__}}}(),{Version:e,Constants:{},Errors:{PluginNotExtendedError:r},extends:function(e){return e.installed||(this.Constants=t(this.Constants,e.Constants),this.Errors=t(this.Errors,e.Errors),this[e.name]=e.module,e.installed=!0),this}}}));
@@ -20,7 +20,7 @@ export declare type NativeBase<Plugins, AssignedConstants extends Record<string,
20
20
  Version: string;
21
21
  Constants: AssignedConstants;
22
22
  Errors: AssignedErrors;
23
- extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => NativeBase<Plugins & {
23
+ extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => asserts this is NativeBase<Plugins & {
24
24
  [Plugin in Key]: Module;
25
25
  }, AssignedConstants & Constants, AssignedErrors & Errors>;
26
26
  } & Plugins;
@@ -20,7 +20,7 @@ export declare type NativeBase<Plugins, AssignedConstants extends Record<string,
20
20
  Version: string;
21
21
  Constants: AssignedConstants;
22
22
  Errors: AssignedErrors;
23
- extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => NativeBase<Plugins & {
23
+ extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => asserts this is NativeBase<Plugins & {
24
24
  [Plugin in Key]: Module;
25
25
  }, AssignedConstants & Constants, AssignedErrors & Errors>;
26
26
  } & Plugins;
@@ -20,7 +20,7 @@ export declare type NativeBase<Plugins, AssignedConstants extends Record<string,
20
20
  Version: string;
21
21
  Constants: AssignedConstants;
22
22
  Errors: AssignedErrors;
23
- extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => NativeBase<Plugins & {
23
+ extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => asserts this is NativeBase<Plugins & {
24
24
  [Plugin in Key]: Module;
25
25
  }, AssignedConstants & Constants, AssignedErrors & Errors>;
26
26
  } & Plugins;
@@ -20,7 +20,7 @@ export declare type NativeBase<Plugins, AssignedConstants extends Record<string,
20
20
  Version: string;
21
21
  Constants: AssignedConstants;
22
22
  Errors: AssignedErrors;
23
- extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => NativeBase<Plugins & {
23
+ extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => asserts this is NativeBase<Plugins & {
24
24
  [Plugin in Key]: Module;
25
25
  }, AssignedConstants & Constants, AssignedErrors & Errors>;
26
26
  } & Plugins;
@@ -20,7 +20,7 @@ export declare type NativeBase<Plugins, AssignedConstants extends Record<string,
20
20
  Version: string;
21
21
  Constants: AssignedConstants;
22
22
  Errors: AssignedErrors;
23
- extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => NativeBase<Plugins & {
23
+ extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => asserts this is NativeBase<Plugins & {
24
24
  [Plugin in Key]: Module;
25
25
  }, AssignedConstants & Constants, AssignedErrors & Errors>;
26
26
  } & Plugins;
@@ -20,7 +20,7 @@ export declare type NativeBase<Plugins, AssignedConstants extends Record<string,
20
20
  Version: string;
21
21
  Constants: AssignedConstants;
22
22
  Errors: AssignedErrors;
23
- extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => NativeBase<Plugins & {
23
+ extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => asserts this is NativeBase<Plugins & {
24
24
  [Plugin in Key]: Module;
25
25
  }, AssignedConstants & Constants, AssignedErrors & Errors>;
26
26
  } & Plugins;
@@ -20,7 +20,7 @@ export declare type NativeBase<Plugins, AssignedConstants extends Record<string,
20
20
  Version: string;
21
21
  Constants: AssignedConstants;
22
22
  Errors: AssignedErrors;
23
- extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => NativeBase<Plugins & {
23
+ extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => asserts this is NativeBase<Plugins & {
24
24
  [Plugin in Key]: Module;
25
25
  }, AssignedConstants & Constants, AssignedErrors & Errors>;
26
26
  } & Plugins;
@@ -20,7 +20,7 @@ export declare type NativeBase<Plugins, AssignedConstants extends Record<string,
20
20
  Version: string;
21
21
  Constants: AssignedConstants;
22
22
  Errors: AssignedErrors;
23
- extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => NativeBase<Plugins & {
23
+ extends: <Key extends string, Module, Constants extends Record<string, any> = Record<string, any>, Errors extends Record<string, ErrorConstructor> = Record<string, ErrorConstructor>>(this: NativeBase<Plugins, AssignedConstants, AssignedErrors>, plugin: NativePlugin<Key, Module, Constants, Errors>) => asserts this is NativeBase<Plugins & {
24
24
  [Plugin in Key]: Module;
25
25
  }, AssignedConstants & Constants, AssignedErrors & Errors>;
26
26
  } & Plugins;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "native-fn",
3
- "version": "1.0.86",
3
+ "version": "1.0.88",
4
4
  "description": " ",
5
5
  "type": "module",
6
6