@getlang/utils
Advanced tools
Comparing version 0.1.2 to 0.1.3
# @getlang/utils | ||
## 0.1.3 | ||
### Patch Changes | ||
- [#28](https://github.com/getlang-dev/get/pull/28) [`f1bdc2c`](https://github.com/getlang-dev/get/commit/f1bdc2c8433a942f84503606790e8bcf4fb37477) Thanks [@mattfysh](https://github.com/mattfysh)! - page links | ||
## 0.1.2 | ||
@@ -4,0 +10,0 @@ |
import type { MaybePromise } from './wait.js'; | ||
export type ImportHook = (module: string) => MaybePromise<string>; | ||
export type CallHook = (module: string, inputs: Record<string, unknown>, raster: Record<string, unknown>, execute: () => Promise<any>) => Promise<any>; | ||
export type RequestHook = (url: string, opts: RequestInit) => Promise<Response>; | ||
@@ -9,2 +10,3 @@ export type SliceHook = (slice: string, context?: unknown, raw?: unknown) => MaybePromise<unknown>; | ||
slice: SliceHook; | ||
call: CallHook; | ||
}; | ||
@@ -11,0 +13,0 @@ type RequestInit = { |
{ | ||
"name": "@getlang/utils", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "type": "module", |
import type { MaybePromise } from './wait.js' | ||
export type ImportHook = (module: string) => MaybePromise<string> | ||
export type CallHook = ( | ||
module: string, | ||
inputs: Record<string, unknown>, | ||
raster: Record<string, unknown>, | ||
execute: () => Promise<any>, | ||
) => Promise<any> | ||
export type RequestHook = (url: string, opts: RequestInit) => Promise<Response> | ||
export type SliceHook = ( | ||
@@ -15,2 +24,3 @@ slice: string, | ||
slice: SliceHook | ||
call: CallHook | ||
} | ||
@@ -17,0 +27,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13875
303