Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@lylajs/wx

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lylajs/wx - npm Package Compare versions

Comparing version
2.0.0-beta.1
to
2.0.0-beta.2
+2
-3
dist/index.d.ts
export { adapter } from './adapter';
export type { LylaAdapterMeta } from './adapter';
export type { Lyla, LylaError, LylaProgress, LylaRequestOptions, LylaResponse, LylaResponseError, LylaNonResponseError } from './reexports';
export { lyla, isLylaError, createLyla, isLylaErrorWithRetry } from './instance';
export type { Lyla, LylaError, LylaProgress, LylaRequestOptions, LylaResponse, LylaResponseError, LylaNonResponseError, LylaRetryError, LylaErrorWithRetry } from './reexports';
export { LYLA_ERROR, LylaAbortController } from './reexports';
export { lyla, isLylaError, createLyla } from './instance';
export { arrayBufferToString } from './utils';
+2
-1
import type { LylaRequestOptions, LylaRequestOptionsWithContext } from './reexports';
export declare const lyla: import("@lylajs/core").Lyla<undefined, import("./adapter").LylaAdapterMeta>, isLylaError: (e: unknown) => e is import("@lylajs/core").LylaError<undefined, import("./adapter").LylaAdapterMeta>;
export declare const lyla: import("@lylajs/core").Lyla<undefined, import("./adapter").LylaAdapterMeta>, isLylaError: (e: unknown) => e is import("@lylajs/core").LylaError<undefined, import("./adapter").LylaAdapterMeta>, isLylaErrorWithRetry: (e: unknown) => e is import("@lylajs/core").LylaErrorWithRetry<undefined, import("./adapter").LylaAdapterMeta>;
export declare const createLyla: <C>(options: LylaRequestOptionsWithContext<C>, ...overrides: LylaRequestOptions<C>[]) => {
isLylaError(e: unknown): e is import("@lylajs/core").LylaError<C, import("./adapter").LylaAdapterMeta>;
isLylaErrorWithRetry(e: unknown): e is import("@lylajs/core").LylaErrorWithRetry<C, import("./adapter").LylaAdapterMeta>;
lyla: import("@lylajs/core").Lyla<C, import("./adapter").LylaAdapterMeta>;
};
import type { LylaRequestOptions as LylaCoreRequestOptions, LylaResponse as LylaCoreResponse, Lyla as LylaCore, LylaRequestOptionsWithContext as LylaCoreRequestOptionsWithContext, LylaProgress as LylaCoreProgress } from '@lylajs/core';
import type { LylaResponseError as LylaCoreResponseError, LylaError as LylaCoreError, LylaNonResponseError as LylaCoreNonResponseError } from '@lylajs/core';
import type { LylaResponseError as LylaCoreResponseError, LylaError as LylaCoreError, LylaNonResponseError as LylaCoreNonResponseError, LylaRetryError as LylaCoreRetryError, LylaErrorWithRetry as LylaCoreErrorWithRetry } from '@lylajs/core';
import type { LylaAdapterMeta } from './adapter';

@@ -11,3 +11,5 @@ export type Lyla<C = undefined> = LylaCore<C, LylaAdapterMeta>;

export type LylaError<C = undefined> = LylaCoreError<C, LylaAdapterMeta>;
export type LylaRetryError<C = undefined> = LylaCoreRetryError<C, LylaAdapterMeta>;
export type LylaErrorWithRetry<C = undefined> = LylaCoreErrorWithRetry<C, LylaAdapterMeta>;
export type LylaProgress = LylaCoreProgress<LylaAdapterMeta>;
export { LYLA_ERROR, LylaAbortController } from '@lylajs/core';
export { adapter } from './adapter';
export type { LylaAdapterMeta } from './adapter';
export type { Lyla, LylaError, LylaProgress, LylaRequestOptions, LylaResponse, LylaResponseError, LylaNonResponseError } from './reexports';
export { lyla, isLylaError, createLyla, isLylaErrorWithRetry } from './instance';
export type { Lyla, LylaError, LylaProgress, LylaRequestOptions, LylaResponse, LylaResponseError, LylaNonResponseError, LylaRetryError, LylaErrorWithRetry } from './reexports';
export { LYLA_ERROR, LylaAbortController } from './reexports';
export { lyla, isLylaError, createLyla } from './instance';
export { arrayBufferToString } from './utils';
export { adapter } from './adapter';
export { lyla, isLylaError, createLyla, isLylaErrorWithRetry } from './instance';
export { LYLA_ERROR, LylaAbortController } from './reexports';
export { lyla, isLylaError, createLyla } from './instance';
export { arrayBufferToString } from './utils';
import type { LylaRequestOptions, LylaRequestOptionsWithContext } from './reexports';
export declare const lyla: import("@lylajs/core").Lyla<undefined, import("./adapter").LylaAdapterMeta>, isLylaError: (e: unknown) => e is import("@lylajs/core").LylaError<undefined, import("./adapter").LylaAdapterMeta>;
export declare const lyla: import("@lylajs/core").Lyla<undefined, import("./adapter").LylaAdapterMeta>, isLylaError: (e: unknown) => e is import("@lylajs/core").LylaError<undefined, import("./adapter").LylaAdapterMeta>, isLylaErrorWithRetry: (e: unknown) => e is import("@lylajs/core").LylaErrorWithRetry<undefined, import("./adapter").LylaAdapterMeta>;
export declare const createLyla: <C>(options: LylaRequestOptionsWithContext<C>, ...overrides: LylaRequestOptions<C>[]) => {
isLylaError(e: unknown): e is import("@lylajs/core").LylaError<C, import("./adapter").LylaAdapterMeta>;
isLylaErrorWithRetry(e: unknown): e is import("@lylajs/core").LylaErrorWithRetry<C, import("./adapter").LylaAdapterMeta>;
lyla: import("@lylajs/core").Lyla<C, import("./adapter").LylaAdapterMeta>;
};
import { createLyla as coreCreateLyla } from '@lylajs/core';
import { adapter } from './adapter';
export const { lyla, isLylaError } = coreCreateLyla(adapter, {
export const { lyla, isLylaError, isLylaErrorWithRetry } = coreCreateLyla(adapter, {
context: undefined

@@ -5,0 +5,0 @@ });

import type { LylaRequestOptions as LylaCoreRequestOptions, LylaResponse as LylaCoreResponse, Lyla as LylaCore, LylaRequestOptionsWithContext as LylaCoreRequestOptionsWithContext, LylaProgress as LylaCoreProgress } from '@lylajs/core';
import type { LylaResponseError as LylaCoreResponseError, LylaError as LylaCoreError, LylaNonResponseError as LylaCoreNonResponseError } from '@lylajs/core';
import type { LylaResponseError as LylaCoreResponseError, LylaError as LylaCoreError, LylaNonResponseError as LylaCoreNonResponseError, LylaRetryError as LylaCoreRetryError, LylaErrorWithRetry as LylaCoreErrorWithRetry } from '@lylajs/core';
import type { LylaAdapterMeta } from './adapter';

@@ -11,3 +11,5 @@ export type Lyla<C = undefined> = LylaCore<C, LylaAdapterMeta>;

export type LylaError<C = undefined> = LylaCoreError<C, LylaAdapterMeta>;
export type LylaRetryError<C = undefined> = LylaCoreRetryError<C, LylaAdapterMeta>;
export type LylaErrorWithRetry<C = undefined> = LylaCoreErrorWithRetry<C, LylaAdapterMeta>;
export type LylaProgress = LylaCoreProgress<LylaAdapterMeta>;
export { LYLA_ERROR, LylaAbortController } from '@lylajs/core';
export { adapter } from './adapter';
export type { LylaAdapterMeta } from './adapter';
export type { Lyla, LylaError, LylaProgress, LylaRequestOptions, LylaResponse, LylaResponseError, LylaNonResponseError } from './reexports';
export { lyla, isLylaError, createLyla, isLylaErrorWithRetry } from './instance';
export type { Lyla, LylaError, LylaProgress, LylaRequestOptions, LylaResponse, LylaResponseError, LylaNonResponseError, LylaRetryError, LylaErrorWithRetry } from './reexports';
export { LYLA_ERROR, LylaAbortController } from './reexports';
export { lyla, isLylaError, createLyla } from './instance';
export { arrayBufferToString } from './utils';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.arrayBufferToString = exports.createLyla = exports.isLylaError = exports.lyla = exports.LylaAbortController = exports.LYLA_ERROR = exports.adapter = void 0;
exports.LylaAbortController = exports.LYLA_ERROR = exports.isLylaErrorWithRetry = exports.createLyla = exports.isLylaError = exports.lyla = exports.adapter = void 0;
var adapter_1 = require("./adapter");
Object.defineProperty(exports, "adapter", { enumerable: true, get: function () { return adapter_1.adapter; } });
var reexports_1 = require("./reexports");
Object.defineProperty(exports, "LYLA_ERROR", { enumerable: true, get: function () { return reexports_1.LYLA_ERROR; } });
Object.defineProperty(exports, "LylaAbortController", { enumerable: true, get: function () { return reexports_1.LylaAbortController; } });
var instance_1 = require("./instance");

@@ -13,3 +10,5 @@ Object.defineProperty(exports, "lyla", { enumerable: true, get: function () { return instance_1.lyla; } });

Object.defineProperty(exports, "createLyla", { enumerable: true, get: function () { return instance_1.createLyla; } });
var utils_1 = require("./utils");
Object.defineProperty(exports, "arrayBufferToString", { enumerable: true, get: function () { return utils_1.arrayBufferToString; } });
Object.defineProperty(exports, "isLylaErrorWithRetry", { enumerable: true, get: function () { return instance_1.isLylaErrorWithRetry; } });
var reexports_1 = require("./reexports");
Object.defineProperty(exports, "LYLA_ERROR", { enumerable: true, get: function () { return reexports_1.LYLA_ERROR; } });
Object.defineProperty(exports, "LylaAbortController", { enumerable: true, get: function () { return reexports_1.LylaAbortController; } });
import type { LylaRequestOptions, LylaRequestOptionsWithContext } from './reexports';
export declare const lyla: import("@lylajs/core").Lyla<undefined, import("./adapter").LylaAdapterMeta>, isLylaError: (e: unknown) => e is import("@lylajs/core").LylaError<undefined, import("./adapter").LylaAdapterMeta>;
export declare const lyla: import("@lylajs/core").Lyla<undefined, import("./adapter").LylaAdapterMeta>, isLylaError: (e: unknown) => e is import("@lylajs/core").LylaError<undefined, import("./adapter").LylaAdapterMeta>, isLylaErrorWithRetry: (e: unknown) => e is import("@lylajs/core").LylaErrorWithRetry<undefined, import("./adapter").LylaAdapterMeta>;
export declare const createLyla: <C>(options: LylaRequestOptionsWithContext<C>, ...overrides: LylaRequestOptions<C>[]) => {
isLylaError(e: unknown): e is import("@lylajs/core").LylaError<C, import("./adapter").LylaAdapterMeta>;
isLylaErrorWithRetry(e: unknown): e is import("@lylajs/core").LylaErrorWithRetry<C, import("./adapter").LylaAdapterMeta>;
lyla: import("@lylajs/core").Lyla<C, import("./adapter").LylaAdapterMeta>;
};
"use strict";
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createLyla = exports.isLylaError = exports.lyla = void 0;
exports.createLyla = exports.isLylaErrorWithRetry = exports.isLylaError = exports.lyla = void 0;
const core_1 = require("@lylajs/core");

@@ -9,3 +9,3 @@ const adapter_1 = require("./adapter");

context: undefined
}), exports.lyla = _a.lyla, exports.isLylaError = _a.isLylaError;
}), exports.lyla = _a.lyla, exports.isLylaError = _a.isLylaError, exports.isLylaErrorWithRetry = _a.isLylaErrorWithRetry;
const createLyla = (options, ...overrides) => {

@@ -12,0 +12,0 @@ return (0, core_1.createLyla)(adapter_1.adapter, options, ...overrides);

import type { LylaRequestOptions as LylaCoreRequestOptions, LylaResponse as LylaCoreResponse, Lyla as LylaCore, LylaRequestOptionsWithContext as LylaCoreRequestOptionsWithContext, LylaProgress as LylaCoreProgress } from '@lylajs/core';
import type { LylaResponseError as LylaCoreResponseError, LylaError as LylaCoreError, LylaNonResponseError as LylaCoreNonResponseError } from '@lylajs/core';
import type { LylaResponseError as LylaCoreResponseError, LylaError as LylaCoreError, LylaNonResponseError as LylaCoreNonResponseError, LylaRetryError as LylaCoreRetryError, LylaErrorWithRetry as LylaCoreErrorWithRetry } from '@lylajs/core';
import type { LylaAdapterMeta } from './adapter';

@@ -11,3 +11,5 @@ export type Lyla<C = undefined> = LylaCore<C, LylaAdapterMeta>;

export type LylaError<C = undefined> = LylaCoreError<C, LylaAdapterMeta>;
export type LylaRetryError<C = undefined> = LylaCoreRetryError<C, LylaAdapterMeta>;
export type LylaErrorWithRetry<C = undefined> = LylaCoreErrorWithRetry<C, LylaAdapterMeta>;
export type LylaProgress = LylaCoreProgress<LylaAdapterMeta>;
export { LYLA_ERROR, LylaAbortController } from '@lylajs/core';
{
"name": "@lylajs/wx",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"files": [

@@ -14,3 +14,3 @@ "es",

"dependencies": {
"@lylajs/core": "2.0.0-beta.1"
"@lylajs/core": "2.0.0-beta.2"
},

@@ -17,0 +17,0 @@ "devDependencies": {

Sorry, the diff of this file is too big to display