@antigane/wallet-adapters 0.0.7 → 0.0.8

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.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Xe=require("react");function OT(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const Rf=OT(Xe);var su=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Bm(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function r(){var i=!1;try{i=this instanceof r}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var ou={exports:{}},Nc={};var Vy;function NT(){if(Vy)return Nc;Vy=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(r,i,s){var o=null;if(s!==void 0&&(o=""+s),i.key!==void 0&&(o=""+i.key),"key"in i){s={};for(var a in i)a!=="key"&&(s[a]=i[a])}else s=i;return i=s.ref,{$$typeof:t,type:r,key:o,ref:i!==void 0?i:null,props:s}}return Nc.Fragment=e,Nc.jsx=n,Nc.jsxs=n,Nc}var Pc={};var jy;function PT(){return jy||(jy=1,process.env.NODE_ENV!=="production"&&(function(){function t(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===H?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case b:return"Fragment";case M:return"Profiler";case E:return"StrictMode";case z:return"Suspense";case X:return"SuspenseList";case B:return"Activity"}if(typeof x=="object")switch(typeof x.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case w:return"Portal";case F:return x.displayName||"Context";case S:return(x._context.displayName||"Context")+".Consumer";case D:var h=x.render;return x=x.displayName,x||(x=h.displayName||h.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case Y:return h=x.displayName||null,h!==null?h:t(x.type)||"Memo";case U:h=x._payload,x=x._init;try{return t(x(h))}catch{}}return null}function e(x){return""+x}function n(x){try{e(x);var h=!1}catch{h=!0}if(h){h=console;var m=h.error,A=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return m.call(h,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",A),e(x)}}function r(x){if(x===b)return"<>";if(typeof x=="object"&&x!==null&&x.$$typeof===U)return"<...>";try{var h=t(x);return h?"<"+h+">":"<...>"}catch{return"<...>"}}function i(){var x=V.A;return x===null?null:x.getOwner()}function s(){return Error("react-stack-top-frame")}function o(x){if(T.call(x,"key")){var h=Object.getOwnPropertyDescriptor(x,"key").get;if(h&&h.isReactWarning)return!1}return x.key!==void 0}function a(x,h){function m(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",h))}m.isReactWarning=!0,Object.defineProperty(x,"key",{get:m,configurable:!0})}function c(){var x=t(this.type);return P[x]||(P[x]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),x=this.props.ref,x!==void 0?x:null}function l(x,h,m,A,C,$){var j=m.ref;return x={$$typeof:v,type:x,key:h,props:m,_owner:A},(j!==void 0?j:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:c}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:C}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:$}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function u(x,h,m,A,C,$){var j=h.children;if(j!==void 0)if(A)if(p(j)){for(A=0;A<j.length;A++)d(j[A]);Object.freeze&&Object.freeze(j)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else d(j);if(T.call(h,"key")){j=t(x);var Z=Object.keys(h).filter(function(se){return se!=="key"});A=0<Z.length?"{key: someKey, "+Z.join(": ..., ")+": ...}":"{key: someKey}",N[j+A]||(Z=0<Z.length?"{"+Z.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const Xe=require("react");function OT(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const Rf=OT(Xe);var su=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Bm(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function r(){var i=!1;try{i=this instanceof r}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var ou={exports:{}},Nc={};var Vy;function NT(){if(Vy)return Nc;Vy=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(r,i,s){var o=null;if(s!==void 0&&(o=""+s),i.key!==void 0&&(o=""+i.key),"key"in i){s={};for(var a in i)a!=="key"&&(s[a]=i[a])}else s=i;return i=s.ref,{$$typeof:t,type:r,key:o,ref:i!==void 0?i:null,props:s}}return Nc.Fragment=e,Nc.jsx=n,Nc.jsxs=n,Nc}var Pc={};var jy;function PT(){return jy||(jy=1,process.env.NODE_ENV!=="production"&&(function(){function t(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===H?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case b:return"Fragment";case M:return"Profiler";case E:return"StrictMode";case z:return"Suspense";case X:return"SuspenseList";case B:return"Activity"}if(typeof x=="object")switch(typeof x.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case w:return"Portal";case F:return x.displayName||"Context";case S:return(x._context.displayName||"Context")+".Consumer";case D:var h=x.render;return x=x.displayName,x||(x=h.displayName||h.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case Y:return h=x.displayName||null,h!==null?h:t(x.type)||"Memo";case U:h=x._payload,x=x._init;try{return t(x(h))}catch{}}return null}function e(x){return""+x}function n(x){try{e(x);var h=!1}catch{h=!0}if(h){h=console;var m=h.error,A=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return m.call(h,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",A),e(x)}}function r(x){if(x===b)return"<>";if(typeof x=="object"&&x!==null&&x.$$typeof===U)return"<...>";try{var h=t(x);return h?"<"+h+">":"<...>"}catch{return"<...>"}}function i(){var x=V.A;return x===null?null:x.getOwner()}function s(){return Error("react-stack-top-frame")}function o(x){if(T.call(x,"key")){var h=Object.getOwnPropertyDescriptor(x,"key").get;if(h&&h.isReactWarning)return!1}return x.key!==void 0}function a(x,h){function m(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",h))}m.isReactWarning=!0,Object.defineProperty(x,"key",{get:m,configurable:!0})}function c(){var x=t(this.type);return P[x]||(P[x]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),x=this.props.ref,x!==void 0?x:null}function l(x,h,m,A,C,$){var j=m.ref;return x={$$typeof:v,type:x,key:h,props:m,_owner:A},(j!==void 0?j:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:c}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:C}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:$}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function u(x,h,m,A,C,$){var j=h.children;if(j!==void 0)if(A)if(p(j)){for(A=0;A<j.length;A++)d(j[A]);Object.freeze&&Object.freeze(j)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else d(j);if(T.call(h,"key")){j=t(x);var Z=Object.keys(h).filter(function(se){return se!=="key"});A=0<Z.length?"{key: someKey, "+Z.join(": ..., ")+": ...}":"{key: someKey}",N[j+A]||(Z=0<Z.length?"{"+Z.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
2
  let props = %s;
3
3
  <%s {...props} />
4
4
  React keys must be passed directly to JSX without using spread:
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as Of from "react";
2
2
  import BT, { createContext as gc, useRef as xi, useLayoutEffect as UT, useEffect as Km, useId as Vm, useContext as gr, useInsertionEffect as jm, useMemo as Rs, useCallback as m_, Children as $T, isValidElement as FT, useState as Xa, Fragment as g_, createElement as KT, forwardRef as VT, Component as jT } from "react";
3
- var lu = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
+ import './index.css';var lu = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function yc(t) {
5
5
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
6
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@antigane/wallet-adapters",
3
3
  "private": false,
4
- "version": "0.0.7",
4
+ "version": "0.0.8",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/antiganehq",
7
7
  "repository": {
@@ -51,7 +51,8 @@
51
51
  "typescript": "~5.9.3",
52
52
  "typescript-eslint": "^8.46.4",
53
53
  "vite": "^7.2.4",
54
- "vite-plugin-dts": "^4.5.4"
54
+ "vite-plugin-dts": "^4.5.4",
55
+ "vite-plugin-lib-inject-css": "^2.2.2"
55
56
  },
56
57
  "scripts": {
57
58
  "dev": "vite",
File without changes