fix(sdk): restore native ESM imports and action exports
This commit is contained in:
33 files changed
+482
-81
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { SnowLumaAbortError } from '../errors';
|
||||
import { SnowLumaAbortError } from '../errors.js';
|
||||
|
||||
export interface RequestAbortState {
|
||||
signal: AbortSignal;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ApiResponse, JsonObject, JsonValue } from '../types/index';
|
||||
import type { ApiResponse, JsonObject, JsonValue } from '../types/index.js';
|
||||
|
||||
export function isJsonObject(value: unknown): value is JsonObject {
|
||||
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
||||
|
||||
Reference in new issue
Block a user