grab-url 1.0.17 → 1.0.18

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.
@@ -98,7 +98,7 @@ declare enum ColorName {
98
98
  * @author [vtempest (2025)](https://github.com/vtempest/GRAB-URL)
99
99
  * @see [🎯 Examples](https://grab.js.org/docs/Examples) [📑 Docs](https://grab.js.org)
100
100
  */
101
- declare function grab_2<TResponse = any, TParams = any>(path: string, options: GrabOptions<TResponse, TParams>): Promise<GrabResponse<TResponse>>;
101
+ declare function grab_2<TResponse = any, TParams = any>(path: string, options?: GrabOptions<TResponse, TParams>): Promise<GrabResponse<TResponse>>;
102
102
 
103
103
  declare namespace grab_2 {
104
104
  var instance: (defaults?: {}) => (path: any, options?: {}) => Promise<any>;
@@ -264,7 +264,8 @@ export declare type GrabResponse<TResponse = any> = TResponse & {
264
264
  * If true, uses `console.debug` (hidden in production). If false, uses `console.log`.
265
265
  *
266
266
  */
267
- export declare function log(message?: string | object, options?: LogOptions): boolean;
267
+ declare function log_2(message?: string | object, options?: LogOptions): boolean;
268
+ export { log_2 as log }
268
269
 
269
270
  export declare interface LogFunction {
270
271
  /**
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "grab-url",
3
3
  "description": "📥 Generate Request to API from Browser",
4
4
  "type": "module",
5
- "version": "1.0.17",
5
+ "version": "1.0.18",
6
6
  "author": "vtempest",
7
7
  "license": "rights.institute/prosper",
8
8
  "repository": {