Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lens-protocol/types

Package Overview
Dependencies
Maintainers
0
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lens-protocol/types - npm Package Compare versions

Comparing version 0.0.0-canary-20241212145355 to 0.0.0-canary-20241212150112

2

dist/index.js

@@ -1,2 +0,2 @@

export*from"neverthrow";var r=class extends Error{name="InvariantError"};function o(e,t){if(!e)throw new r(t)}function x(e){let t=typeof e;return e!=null&&(t==="object"||t==="function")}function u(e){if(!x(e)||!Error.prototype.isPrototypeOf(e))throw e}function y(e,t=`Unexpected object: ${String(e)}`){throw new r(t)}function l(e){o(e.isOk(),"Expected result to be Ok")}function E(e){o(e.isErr(),"Expected result to be Err")}var g=class{promise;resolve;reject;constructor(){this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}};function I(e="Unexpected call to never()"){throw new r(e)}function R(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}import{errAsync as d}from"neverthrow";var c=class e extends Error{asResultAsync(){return d(this)}static from(t){if(t instanceof Error){let n=e.formatMessage(t);return new this(n,{cause:t})}return new this(String(t))}static formatMessage(t){let n=[],i=t;for(;i instanceof Error;)n.push(i.message),i=i.cause;return n.join(" due to ")}};function T(e){return typeof e=="string"&&/^0x[a-fA-F0-9]+$/.test(e)}function p(e){return o(T(e),`Expected a valid hex string, but got: ${e}`),e}function H(e){return o(e.length===42,`EvmAddress: invalid length ${e.length}`),p(e)}var P=p,b=p;function s(e){return e}var J=s,C=s;function a(e){return e}var V=a,B=a,F=a;var N=s,q=s;export{g as Deferred,r as InvariantError,c as ResultAwareError,V as accessToken,E as assertErr,u as assertError,y as assertNever,l as assertOk,a as compactJwt,H as evmAddress,p as hexString,F as idToken,o as invariant,R as isObject,T as isValidHexString,I as never,C as postId,B as refreshToken,P as signatureFrom,b as txHash,N as uri,q as url,J as uuid};
export*from"neverthrow";var r=class extends Error{name="InvariantError"};function i(e,t){if(!e)throw new r(t)}function x(e){let t=typeof e;return e!=null&&(t==="object"||t==="function")}function y(e){if(!x(e)||!Error.prototype.isPrototypeOf(e))throw e}function u(e,t=`Unexpected object: ${String(e)}`){throw new r(t)}function w(e){if(e.isErr())throw new r(`Expected result to be Ok: ${e.error.message}`)}function h(e){if(e.isOk())throw new r(`Expected result to be Err: ${e.value}`)}var g=class{promise;resolve;reject;constructor(){this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}};function I(e="Unexpected call to never()"){throw new r(e)}function R(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}import{errAsync as d}from"neverthrow";var c=class e extends Error{asResultAsync(){return d(this)}static from(t){if(t instanceof Error){let n=e.formatMessage(t);return new this(n,{cause:t})}return new this(String(t))}static formatMessage(t){let n=[],s=t;for(;s instanceof Error;)n.push(s.message),s=s.cause;return n.join(" due to ")}};function T(e){return typeof e=="string"&&/^0x[a-fA-F0-9]+$/.test(e)}function p(e){return i(T(e),`Expected a valid hex string, but got: ${e}`),e}function H(e){return i(e.length===42,`EvmAddress: invalid length ${e.length}`),p(e)}var P=p,b=p;function o(e){return e}var J=o,C=o;function a(e){return e}var V=a,B=a,F=a;var N=o,q=o;export{g as Deferred,r as InvariantError,c as ResultAwareError,V as accessToken,h as assertErr,y as assertError,u as assertNever,w as assertOk,a as compactJwt,H as evmAddress,p as hexString,F as idToken,i as invariant,R as isObject,T as isValidHexString,I as never,C as postId,B as refreshToken,P as signatureFrom,b as txHash,N as uri,q as url,J as uuid};
//# sourceMappingURL=index.js.map
{
"name": "@lens-protocol/types",
"version": "0.0.0-canary-20241212145355",
"version": "0.0.0-canary-20241212150112",
"description": "Low-level types for Lens SDK",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc