@8ms/helpers 3.0.11 → 3.0.12

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.
Files changed (34) hide show
  1. package/dist/adverity/adverity.cjs +0 -1
  2. package/dist/atInternet/atInternet.cjs +0 -1
  3. package/dist/aws/cloudWatchLog/server/AwsCloudWatchLog.d.cts +4 -5
  4. package/dist/aws/cloudWatchLog/server/AwsCloudWatchLog.d.mts +4 -5
  5. package/dist/aws/cloudWatchMetric/server/AwsCloudWatchMetric.d.cts +1 -2
  6. package/dist/aws/cloudWatchMetric/server/AwsCloudWatchMetric.d.mts +1 -2
  7. package/dist/aws/ec2/server/AwsEc2.d.cts +2 -3
  8. package/dist/aws/ec2/server/AwsEc2.d.mts +2 -3
  9. package/dist/aws/s3/server/AwsS3.d.cts +5 -6
  10. package/dist/aws/s3/server/AwsS3.d.mts +5 -6
  11. package/dist/aws/s3/server/payload.cjs +0 -1
  12. package/dist/aws/sqs/server/AwsSqs.d.cts +2 -3
  13. package/dist/aws/sqs/server/AwsSqs.d.mts +2 -3
  14. package/dist/date/calculation.cjs +0 -1
  15. package/dist/date/financialYear.cjs +0 -1
  16. package/dist/date/format.cjs +0 -1
  17. package/dist/date/index.cjs +1 -1
  18. package/dist/date/index.mjs +1 -1
  19. package/dist/eskimi/eskimi.cjs +0 -1
  20. package/dist/file/getFileKey.cjs +0 -1
  21. package/dist/googleAds/keywordPlanner/server/googleAdsKeywordPlanner.cjs +0 -1
  22. package/dist/googleCloud/server/getGoogleCloudConfig.d.cts +4 -7
  23. package/dist/googleCloud/server/getGoogleCloudConfig.d.mts +4 -7
  24. package/dist/googleCloud/sheets/server/GoogleCloudSheets.d.cts +1 -2
  25. package/dist/googleCloud/sheets/server/GoogleCloudSheets.d.mts +1 -2
  26. package/dist/googleCloud/storage/server/GoogleCloudStorage.d.cts +1 -2
  27. package/dist/googleCloud/storage/server/GoogleCloudStorage.d.mts +1 -2
  28. package/dist/googleSearchIncidents/server/googleSearchIncidents.cjs +0 -1
  29. package/dist/greenDomain/server/greenDomain.cjs +0 -1
  30. package/dist/nextJs/client/useAsyncEffect.cjs +0 -1
  31. package/dist/onePassword/server/OnePassword.d.cts +3 -4
  32. package/dist/onePassword/server/OnePassword.d.mts +3 -4
  33. package/dist/snapchat/server/Snapchat.cjs +0 -1
  34. package/package.json +42 -42
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../_virtual/_rolldown/runtime.cjs");
3
2
  let zod_v4 = require("zod/v4");
4
3
  //#region src/adverity/adverity.ts
5
4
  const stackSchema = zod_v4.z.object({
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../_virtual/_rolldown/runtime.cjs");
3
2
  let zod_v4 = require("zod/v4");
4
3
  //#region src/atInternet/atInternet.ts
5
4
  /**
@@ -1,6 +1,5 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
2
2
  import { LogEvent } from "./logEvent.cjs";
3
- import * as _$_aws_sdk_client_cloudwatch_logs0 from "@aws-sdk/client-cloudwatch-logs";
4
3
  import { CloudWatchLogsClient } from "@aws-sdk/client-cloudwatch-logs";
5
4
 
6
5
  //#region src/aws/cloudWatchLog/server/AwsCloudWatchLog.d.ts
@@ -12,7 +11,7 @@ declare class AwsCloudWatchLog extends BaseNamespace {
12
11
  * Create a CloudWatch Log Group.
13
12
  * This should typically be the name of the application + environment
14
13
  */
15
- createLogGroup: (logGroupName: string) => Promise<_$_aws_sdk_client_cloudwatch_logs0.CreateLogGroupCommandOutput>;
14
+ createLogGroup: (logGroupName: string) => Promise<import("@aws-sdk/client-cloudwatch-logs").CreateLogGroupCommandOutput>;
16
15
  /**
17
16
  * Checks whether a CloudWatch Log Group exists.
18
17
  */
@@ -20,13 +19,13 @@ declare class AwsCloudWatchLog extends BaseNamespace {
20
19
  /**
21
20
  * Creates a stream within a CloudWatch Log Group.
22
21
  */
23
- createStream: (logGroupName: string, logStreamName: string) => Promise<_$_aws_sdk_client_cloudwatch_logs0.CreateLogStreamCommandOutput>;
22
+ createStream: (logGroupName: string, logStreamName: string) => Promise<import("@aws-sdk/client-cloudwatch-logs").CreateLogStreamCommandOutput>;
24
23
  /**
25
24
  * Checks whether a CloudWatch Log Stream exists within a given Log Group.
26
25
  */
27
26
  logStreamExists: (logGroupName: string, logStreamName: string) => Promise<boolean>;
28
- logEvent: (logGroupName: string, logStreamName: string, logEvent: LogEvent) => Promise<_$_aws_sdk_client_cloudwatch_logs0.PutLogEventsCommandOutput>;
29
- logEvents: (logGroupName: string, logStreamName: string, logEvents: LogEvent[]) => Promise<_$_aws_sdk_client_cloudwatch_logs0.PutLogEventsCommandOutput>;
27
+ logEvent: (logGroupName: string, logStreamName: string, logEvent: LogEvent) => Promise<import("@aws-sdk/client-cloudwatch-logs").PutLogEventsCommandOutput>;
28
+ logEvents: (logGroupName: string, logStreamName: string, logEvents: LogEvent[]) => Promise<import("@aws-sdk/client-cloudwatch-logs").PutLogEventsCommandOutput>;
30
29
  }
31
30
  //#endregion
32
31
  export { AwsCloudWatchLog };
@@ -1,6 +1,5 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
2
2
  import { LogEvent } from "./logEvent.mjs";
3
- import * as _$_aws_sdk_client_cloudwatch_logs0 from "@aws-sdk/client-cloudwatch-logs";
4
3
  import { CloudWatchLogsClient } from "@aws-sdk/client-cloudwatch-logs";
5
4
 
6
5
  //#region src/aws/cloudWatchLog/server/AwsCloudWatchLog.d.ts
@@ -12,7 +11,7 @@ declare class AwsCloudWatchLog extends BaseNamespace {
12
11
  * Create a CloudWatch Log Group.
13
12
  * This should typically be the name of the application + environment
14
13
  */
15
- createLogGroup: (logGroupName: string) => Promise<_$_aws_sdk_client_cloudwatch_logs0.CreateLogGroupCommandOutput>;
14
+ createLogGroup: (logGroupName: string) => Promise<import("@aws-sdk/client-cloudwatch-logs").CreateLogGroupCommandOutput>;
16
15
  /**
17
16
  * Checks whether a CloudWatch Log Group exists.
18
17
  */
@@ -20,13 +19,13 @@ declare class AwsCloudWatchLog extends BaseNamespace {
20
19
  /**
21
20
  * Creates a stream within a CloudWatch Log Group.
22
21
  */
23
- createStream: (logGroupName: string, logStreamName: string) => Promise<_$_aws_sdk_client_cloudwatch_logs0.CreateLogStreamCommandOutput>;
22
+ createStream: (logGroupName: string, logStreamName: string) => Promise<import("@aws-sdk/client-cloudwatch-logs").CreateLogStreamCommandOutput>;
24
23
  /**
25
24
  * Checks whether a CloudWatch Log Stream exists within a given Log Group.
26
25
  */
27
26
  logStreamExists: (logGroupName: string, logStreamName: string) => Promise<boolean>;
28
- logEvent: (logGroupName: string, logStreamName: string, logEvent: LogEvent) => Promise<_$_aws_sdk_client_cloudwatch_logs0.PutLogEventsCommandOutput>;
29
- logEvents: (logGroupName: string, logStreamName: string, logEvents: LogEvent[]) => Promise<_$_aws_sdk_client_cloudwatch_logs0.PutLogEventsCommandOutput>;
27
+ logEvent: (logGroupName: string, logStreamName: string, logEvent: LogEvent) => Promise<import("@aws-sdk/client-cloudwatch-logs").PutLogEventsCommandOutput>;
28
+ logEvents: (logGroupName: string, logStreamName: string, logEvents: LogEvent[]) => Promise<import("@aws-sdk/client-cloudwatch-logs").PutLogEventsCommandOutput>;
30
29
  }
31
30
  //#endregion
32
31
  export { AwsCloudWatchLog };
@@ -1,6 +1,5 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
2
2
  import { LogMetric } from "./logMetric.cjs";
3
- import * as _$_aws_sdk_client_cloudwatch0 from "@aws-sdk/client-cloudwatch";
4
3
  import { CloudWatchClient } from "@aws-sdk/client-cloudwatch";
5
4
 
6
5
  //#region src/aws/cloudWatchMetric/server/AwsCloudWatchMetric.d.ts
@@ -13,7 +12,7 @@ declare class AwsCloudWatchMetric extends BaseNamespace {
13
12
  * The namespace is created automatically.
14
13
  * Dimensions should contain additional info (but top level).
15
14
  */
16
- logMetric: (namespace: string, metricData: LogMetric | LogMetric[]) => Promise<_$_aws_sdk_client_cloudwatch0.PutMetricDataCommandOutput>;
15
+ logMetric: (namespace: string, metricData: LogMetric | LogMetric[]) => Promise<import("@aws-sdk/client-cloudwatch").PutMetricDataCommandOutput>;
17
16
  }
18
17
  //#endregion
19
18
  export { AwsCloudWatchMetric };
@@ -1,6 +1,5 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
2
2
  import { LogMetric } from "./logMetric.mjs";
3
- import * as _$_aws_sdk_client_cloudwatch0 from "@aws-sdk/client-cloudwatch";
4
3
  import { CloudWatchClient } from "@aws-sdk/client-cloudwatch";
5
4
 
6
5
  //#region src/aws/cloudWatchMetric/server/AwsCloudWatchMetric.d.ts
@@ -13,7 +12,7 @@ declare class AwsCloudWatchMetric extends BaseNamespace {
13
12
  * The namespace is created automatically.
14
13
  * Dimensions should contain additional info (but top level).
15
14
  */
16
- logMetric: (namespace: string, metricData: LogMetric | LogMetric[]) => Promise<_$_aws_sdk_client_cloudwatch0.PutMetricDataCommandOutput>;
15
+ logMetric: (namespace: string, metricData: LogMetric | LogMetric[]) => Promise<import("@aws-sdk/client-cloudwatch").PutMetricDataCommandOutput>;
17
16
  }
18
17
  //#endregion
19
18
  export { AwsCloudWatchMetric };
@@ -1,5 +1,4 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
2
- import * as _$_aws_sdk_client_ec20 from "@aws-sdk/client-ec2";
3
2
  import { EC2Client } from "@aws-sdk/client-ec2";
4
3
 
5
4
  //#region src/aws/ec2/server/AwsEc2.d.ts
@@ -7,8 +6,8 @@ declare class AwsEc2 extends BaseNamespace {
7
6
  client: EC2Client;
8
7
  config: any;
9
8
  init: (config: any, region?: string) => Promise<this>;
10
- startInstances: (instanceIds: string[], additionalInfo?: string, dryRun?: boolean) => Promise<_$_aws_sdk_client_ec20.StartInstancesCommandOutput>;
11
- stopInstances: (instanceIds: string[], hibernate?: boolean, force?: boolean, dryRun?: boolean) => Promise<_$_aws_sdk_client_ec20.StopInstancesCommandOutput>;
9
+ startInstances: (instanceIds: string[], additionalInfo?: string, dryRun?: boolean) => Promise<import("@aws-sdk/client-ec2").StartInstancesCommandOutput>;
10
+ stopInstances: (instanceIds: string[], hibernate?: boolean, force?: boolean, dryRun?: boolean) => Promise<import("@aws-sdk/client-ec2").StopInstancesCommandOutput>;
12
11
  }
13
12
  //#endregion
14
13
  export { AwsEc2 };
@@ -1,5 +1,4 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
2
- import * as _$_aws_sdk_client_ec20 from "@aws-sdk/client-ec2";
3
2
  import { EC2Client } from "@aws-sdk/client-ec2";
4
3
 
5
4
  //#region src/aws/ec2/server/AwsEc2.d.ts
@@ -7,8 +6,8 @@ declare class AwsEc2 extends BaseNamespace {
7
6
  client: EC2Client;
8
7
  config: any;
9
8
  init: (config: any, region?: string) => Promise<this>;
10
- startInstances: (instanceIds: string[], additionalInfo?: string, dryRun?: boolean) => Promise<_$_aws_sdk_client_ec20.StartInstancesCommandOutput>;
11
- stopInstances: (instanceIds: string[], hibernate?: boolean, force?: boolean, dryRun?: boolean) => Promise<_$_aws_sdk_client_ec20.StopInstancesCommandOutput>;
9
+ startInstances: (instanceIds: string[], additionalInfo?: string, dryRun?: boolean) => Promise<import("@aws-sdk/client-ec2").StartInstancesCommandOutput>;
10
+ stopInstances: (instanceIds: string[], hibernate?: boolean, force?: boolean, dryRun?: boolean) => Promise<import("@aws-sdk/client-ec2").StopInstancesCommandOutput>;
12
11
  }
13
12
  //#endregion
14
13
  export { AwsEc2 };
@@ -1,6 +1,5 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
2
2
  import { Modified, ReadFileResponse } from "./awsS3File.cjs";
3
- import * as _$_aws_sdk_client_s30 from "@aws-sdk/client-s3";
4
3
  import { S3Client } from "@aws-sdk/client-s3";
5
4
 
6
5
  //#region src/aws/s3/server/AwsS3.d.ts
@@ -50,11 +49,11 @@ declare class AwsS3 extends BaseNamespace {
50
49
  readJson: (bucket: string, key: string) => Promise<ReadFileResponse>;
51
50
  readJsonGzip: (bucket: string, key: string, gzipOptions?: object, awsS3Options?: Options) => Promise<ReadFileResponse>;
52
51
  readGzip: (bucket: string, key: string, gzipOptions?: object, awsS3Options?: Options) => Promise<ReadFileResponse>;
53
- writeBrotli: (bucket: string, key: string, data: any, brotliOptions?: object, awsS3Options?: Options) => Promise<_$_aws_sdk_client_s30.PutObjectCommandOutput>;
54
- writeFile: (bucket: string, key: string, data: any, options?: Options) => Promise<_$_aws_sdk_client_s30.PutObjectCommandOutput>;
55
- writeJson: (bucket: string, key: string, data: any, options?: Options) => Promise<_$_aws_sdk_client_s30.PutObjectCommandOutput>;
56
- writeJsonGzip: (bucket: string, key: string, data: any, gzipOptions?: object, awsS3Options?: Options) => Promise<_$_aws_sdk_client_s30.PutObjectCommandOutput>;
57
- writeGzip: (bucket: string, key: string, data: any, gzipOptions?: object, awsS3Options?: Options) => Promise<_$_aws_sdk_client_s30.PutObjectCommandOutput>;
52
+ writeBrotli: (bucket: string, key: string, data: any, brotliOptions?: object, awsS3Options?: Options) => Promise<import("@aws-sdk/client-s3").PutObjectCommandOutput>;
53
+ writeFile: (bucket: string, key: string, data: any, options?: Options) => Promise<import("@aws-sdk/client-s3").PutObjectCommandOutput>;
54
+ writeJson: (bucket: string, key: string, data: any, options?: Options) => Promise<import("@aws-sdk/client-s3").PutObjectCommandOutput>;
55
+ writeJsonGzip: (bucket: string, key: string, data: any, gzipOptions?: object, awsS3Options?: Options) => Promise<import("@aws-sdk/client-s3").PutObjectCommandOutput>;
56
+ writeGzip: (bucket: string, key: string, data: any, gzipOptions?: object, awsS3Options?: Options) => Promise<import("@aws-sdk/client-s3").PutObjectCommandOutput>;
58
57
  /**
59
58
  * Get a presigned post URL so we can upload directly to S3 via frontend.
60
59
  */
@@ -1,6 +1,5 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
2
2
  import { Modified, ReadFileResponse } from "./awsS3File.mjs";
3
- import * as _$_aws_sdk_client_s30 from "@aws-sdk/client-s3";
4
3
  import { S3Client } from "@aws-sdk/client-s3";
5
4
 
6
5
  //#region src/aws/s3/server/AwsS3.d.ts
@@ -50,11 +49,11 @@ declare class AwsS3 extends BaseNamespace {
50
49
  readJson: (bucket: string, key: string) => Promise<ReadFileResponse>;
51
50
  readJsonGzip: (bucket: string, key: string, gzipOptions?: object, awsS3Options?: Options) => Promise<ReadFileResponse>;
52
51
  readGzip: (bucket: string, key: string, gzipOptions?: object, awsS3Options?: Options) => Promise<ReadFileResponse>;
53
- writeBrotli: (bucket: string, key: string, data: any, brotliOptions?: object, awsS3Options?: Options) => Promise<_$_aws_sdk_client_s30.PutObjectCommandOutput>;
54
- writeFile: (bucket: string, key: string, data: any, options?: Options) => Promise<_$_aws_sdk_client_s30.PutObjectCommandOutput>;
55
- writeJson: (bucket: string, key: string, data: any, options?: Options) => Promise<_$_aws_sdk_client_s30.PutObjectCommandOutput>;
56
- writeJsonGzip: (bucket: string, key: string, data: any, gzipOptions?: object, awsS3Options?: Options) => Promise<_$_aws_sdk_client_s30.PutObjectCommandOutput>;
57
- writeGzip: (bucket: string, key: string, data: any, gzipOptions?: object, awsS3Options?: Options) => Promise<_$_aws_sdk_client_s30.PutObjectCommandOutput>;
52
+ writeBrotli: (bucket: string, key: string, data: any, brotliOptions?: object, awsS3Options?: Options) => Promise<import("@aws-sdk/client-s3").PutObjectCommandOutput>;
53
+ writeFile: (bucket: string, key: string, data: any, options?: Options) => Promise<import("@aws-sdk/client-s3").PutObjectCommandOutput>;
54
+ writeJson: (bucket: string, key: string, data: any, options?: Options) => Promise<import("@aws-sdk/client-s3").PutObjectCommandOutput>;
55
+ writeJsonGzip: (bucket: string, key: string, data: any, gzipOptions?: object, awsS3Options?: Options) => Promise<import("@aws-sdk/client-s3").PutObjectCommandOutput>;
56
+ writeGzip: (bucket: string, key: string, data: any, gzipOptions?: object, awsS3Options?: Options) => Promise<import("@aws-sdk/client-s3").PutObjectCommandOutput>;
58
57
  /**
59
58
  * Get a presigned post URL so we can upload directly to S3 via frontend.
60
59
  */
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../../../_virtual/_rolldown/runtime.cjs");
3
2
  let zod_v4 = require("zod/v4");
4
3
  //#region src/aws/s3/server/payload.ts
5
4
  /**
@@ -1,5 +1,4 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
2
- import * as _$_aws_sdk_client_sqs0 from "@aws-sdk/client-sqs";
3
2
  import { SQSClient } from "@aws-sdk/client-sqs";
4
3
 
5
4
  //#region src/aws/sqs/server/AwsSqs.d.ts
@@ -29,8 +28,8 @@ declare class AwsSqs extends BaseNamespace {
29
28
  client: SQSClient;
30
29
  config: any;
31
30
  init: (config: any, region?: string) => Promise<this>;
32
- addToQueue: (props: AddToQueue) => Promise<_$_aws_sdk_client_sqs0.SendMessageCommandOutput>;
33
- deleteFromQueue: (queueUrl: string, recipientHandle: string) => Promise<_$_aws_sdk_client_sqs0.DeleteMessageCommandOutput>;
31
+ addToQueue: (props: AddToQueue) => Promise<import("@aws-sdk/client-sqs").SendMessageCommandOutput>;
32
+ deleteFromQueue: (queueUrl: string, recipientHandle: string) => Promise<import("@aws-sdk/client-sqs").DeleteMessageCommandOutput>;
34
33
  isEventSqs: (event: SqsEvent) => Promise<boolean>;
35
34
  }
36
35
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
2
- import * as _$_aws_sdk_client_sqs0 from "@aws-sdk/client-sqs";
3
2
  import { SQSClient } from "@aws-sdk/client-sqs";
4
3
 
5
4
  //#region src/aws/sqs/server/AwsSqs.d.ts
@@ -29,8 +28,8 @@ declare class AwsSqs extends BaseNamespace {
29
28
  client: SQSClient;
30
29
  config: any;
31
30
  init: (config: any, region?: string) => Promise<this>;
32
- addToQueue: (props: AddToQueue) => Promise<_$_aws_sdk_client_sqs0.SendMessageCommandOutput>;
33
- deleteFromQueue: (queueUrl: string, recipientHandle: string) => Promise<_$_aws_sdk_client_sqs0.DeleteMessageCommandOutput>;
31
+ addToQueue: (props: AddToQueue) => Promise<import("@aws-sdk/client-sqs").SendMessageCommandOutput>;
32
+ deleteFromQueue: (queueUrl: string, recipientHandle: string) => Promise<import("@aws-sdk/client-sqs").DeleteMessageCommandOutput>;
34
33
  isEventSqs: (event: SqsEvent) => Promise<boolean>;
35
34
  }
36
35
  //#endregion
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../_virtual/_rolldown/runtime.cjs");
3
2
  let luxon = require("luxon");
4
3
  //#region src/date/calculation.ts
5
4
  /**
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../_virtual/_rolldown/runtime.cjs");
3
2
  const require_date_calculation = require("./calculation.cjs");
4
3
  let luxon = require("luxon");
5
4
  //#region src/date/financialYear.ts
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../_virtual/_rolldown/runtime.cjs");
3
2
  const require_date_calculation = require("./calculation.cjs");
4
3
  let luxon = require("luxon");
5
4
  //#region src/date/format.ts
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_date_date = require("./date.cjs");
3
2
  const require_date_calculation = require("./calculation.cjs");
3
+ const require_date_date = require("./date.cjs");
4
4
  const require_date_financialYear = require("./financialYear.cjs");
5
5
  const require_date_format = require("./format.cjs");
6
6
  exports.defaultDate = require_date_date.defaultDate;
@@ -1,5 +1,5 @@
1
- import { defaultDate, defaultDateNumber, defaultDateTime, month } from "./date.mjs";
2
1
  import { differenceInBusinessDays, differenceInMinutes, getDatesBetween, getLastWeek, getLuxonDate, getMax, getMin, getMonday, getMonthsBetween, getSunday, getThisWeek, getToday, getTwoWeeksAgo, getUnix, getWeeksAgo, getYesterday, isFriday, isLastWeek, isMonday, isSaturday, isSunday, isThisWeek, isThursday, isTuesday, isWednesday, isWeekend } from "./calculation.mjs";
2
+ import { defaultDate, defaultDateNumber, defaultDateTime, month } from "./date.mjs";
3
3
  import { getFinancialYear, getFinancialYearToDate, getFinancialYearToYesterday, getFinancialYearWeeks } from "./financialYear.mjs";
4
4
  import { format, getDayNumber, getDurationHours, getDurationMinutes, getFullDate, getFullDateTime, getLuxonDateFromExcel, getMonthYearString, getTodayYmdHisNumber, getTodayYmdHisString, getTodayYmdNumber, getTodayYmdString, getYearMonthString, getYearNumber, getYmdHisNumber, getYmdHisString, getYmdNumber, getYmdString } from "./format.mjs";
5
5
  export { defaultDate, defaultDateNumber, defaultDateTime, differenceInBusinessDays, differenceInMinutes, format, getDatesBetween, getDayNumber, getDurationHours, getDurationMinutes, getFinancialYear, getFinancialYearToDate, getFinancialYearToYesterday, getFinancialYearWeeks, getFullDate, getFullDateTime, getLastWeek, getLuxonDate, getLuxonDateFromExcel, getMax, getMin, getMonday, getMonthYearString, getMonthsBetween, getSunday, getThisWeek, getToday, getTodayYmdHisNumber, getTodayYmdHisString, getTodayYmdNumber, getTodayYmdString, getTwoWeeksAgo, getUnix, getWeeksAgo, getYearMonthString, getYearNumber, getYesterday, getYmdHisNumber, getYmdHisString, getYmdNumber, getYmdString, isFriday, isLastWeek, isMonday, isSaturday, isSunday, isThisWeek, isThursday, isTuesday, isWednesday, isWeekend, month };
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../_virtual/_rolldown/runtime.cjs");
3
2
  let zod_v4 = require("zod/v4");
4
3
  //#region src/eskimi/eskimi.ts
5
4
  /**
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../_virtual/_rolldown/runtime.cjs");
3
2
  const require_date_format = require("../date/format.cjs");
4
3
  require("../date/index.cjs");
5
4
  let luxon = require("luxon");
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../../../_virtual/_rolldown/runtime.cjs");
3
2
  let zod_v4 = require("zod/v4");
4
3
  //#region src/googleAds/keywordPlanner/server/googleAdsKeywordPlanner.ts
5
4
  const network = {
@@ -1,6 +1,3 @@
1
- import * as _$gaxios from "gaxios";
2
- import * as _$google_auth_library0 from "google-auth-library";
3
-
4
1
  //#region src/googleCloud/server/getGoogleCloudConfig.d.ts
5
2
  type VercelGcpOidcConfig = {
6
3
  googleCloudProjectId: string;
@@ -37,9 +34,9 @@ declare const getGoogleCloudConfig: (props: GetGoogleCloudConfigProps) => Promis
37
34
  getAccessToken: () => Promise<{
38
35
  token: string;
39
36
  }>;
40
- request: (opts: any) => Promise<_$gaxios.GaxiosResponse<unknown>>;
37
+ request: (opts: any) => Promise<import("gaxios").GaxiosResponse<unknown>>;
41
38
  };
42
- }> | Promise<_$google_auth_library0.BaseExternalAccountClient> | {
39
+ }> | Promise<import("google-auth-library").BaseExternalAccountClient> | {
43
40
  type: string;
44
41
  project_id: string;
45
42
  private_key_id: string;
@@ -65,13 +62,13 @@ declare const getOidcAuthV9: (props: VercelGcpOidcConfig) => Promise<{
65
62
  getAccessToken: () => Promise<{
66
63
  token: string;
67
64
  }>;
68
- request: (opts: any) => Promise<_$gaxios.GaxiosResponse<unknown>>;
65
+ request: (opts: any) => Promise<import("gaxios").GaxiosResponse<unknown>>;
69
66
  };
70
67
  }>;
71
68
  /**
72
69
  * Returns an ExternalAccountClient from google-auth-library v10.
73
70
  * Use this wherever you need a full AuthClient (e.g. BigQuery, direct API calls).
74
71
  */
75
- declare const getOidcAuthV10: (props: VercelGcpOidcConfig) => Promise<_$google_auth_library0.BaseExternalAccountClient>;
72
+ declare const getOidcAuthV10: (props: VercelGcpOidcConfig) => Promise<import("google-auth-library").BaseExternalAccountClient>;
76
73
  //#endregion
77
74
  export { getGoogleCloudConfig, getOidcAuthV10, getOidcAuthV9 };
@@ -1,6 +1,3 @@
1
- import * as _$gaxios from "gaxios";
2
- import * as _$google_auth_library0 from "google-auth-library";
3
-
4
1
  //#region src/googleCloud/server/getGoogleCloudConfig.d.ts
5
2
  type VercelGcpOidcConfig = {
6
3
  googleCloudProjectId: string;
@@ -37,9 +34,9 @@ declare const getGoogleCloudConfig: (props: GetGoogleCloudConfigProps) => Promis
37
34
  getAccessToken: () => Promise<{
38
35
  token: string;
39
36
  }>;
40
- request: (opts: any) => Promise<_$gaxios.GaxiosResponse<unknown>>;
37
+ request: (opts: any) => Promise<import("gaxios").GaxiosResponse<unknown>>;
41
38
  };
42
- }> | Promise<_$google_auth_library0.BaseExternalAccountClient> | {
39
+ }> | Promise<import("google-auth-library").BaseExternalAccountClient> | {
43
40
  type: string;
44
41
  project_id: string;
45
42
  private_key_id: string;
@@ -65,13 +62,13 @@ declare const getOidcAuthV9: (props: VercelGcpOidcConfig) => Promise<{
65
62
  getAccessToken: () => Promise<{
66
63
  token: string;
67
64
  }>;
68
- request: (opts: any) => Promise<_$gaxios.GaxiosResponse<unknown>>;
65
+ request: (opts: any) => Promise<import("gaxios").GaxiosResponse<unknown>>;
69
66
  };
70
67
  }>;
71
68
  /**
72
69
  * Returns an ExternalAccountClient from google-auth-library v10.
73
70
  * Use this wherever you need a full AuthClient (e.g. BigQuery, direct API calls).
74
71
  */
75
- declare const getOidcAuthV10: (props: VercelGcpOidcConfig) => Promise<_$google_auth_library0.BaseExternalAccountClient>;
72
+ declare const getOidcAuthV10: (props: VercelGcpOidcConfig) => Promise<import("google-auth-library").BaseExternalAccountClient>;
76
73
  //#endregion
77
74
  export { getGoogleCloudConfig, getOidcAuthV10, getOidcAuthV9 };
@@ -1,5 +1,4 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
2
- import * as _$_googleapis_sheets0 from "@googleapis/sheets";
3
2
  import { GoogleAuth } from "googleapis-common";
4
3
 
5
4
  //#region src/googleCloud/sheets/server/GoogleCloudSheets.d.ts
@@ -16,7 +15,7 @@ declare class GoogleCloudSheets extends BaseNamespace {
16
15
  * Either a Google Cloud JSON Config or V10 Auth helper.
17
16
  */
18
17
  init: (isOidc: boolean, config: any, projectId: string, region?: string) => Promise<this>;
19
- getBatchData: (props: GetBatchDataProps) => Promise<_$_googleapis_sheets0.sheets_v4.Schema$BatchGetValuesResponse>;
18
+ getBatchData: (props: GetBatchDataProps) => Promise<import("@googleapis/sheets").sheets_v4.Schema$BatchGetValuesResponse>;
20
19
  }
21
20
  //#endregion
22
21
  export { GoogleCloudSheets };
@@ -1,5 +1,4 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
2
- import * as _$_googleapis_sheets0 from "@googleapis/sheets";
3
2
  import { GoogleAuth } from "googleapis-common";
4
3
 
5
4
  //#region src/googleCloud/sheets/server/GoogleCloudSheets.d.ts
@@ -16,7 +15,7 @@ declare class GoogleCloudSheets extends BaseNamespace {
16
15
  * Either a Google Cloud JSON Config or V10 Auth helper.
17
16
  */
18
17
  init: (isOidc: boolean, config: any, projectId: string, region?: string) => Promise<this>;
19
- getBatchData: (props: GetBatchDataProps) => Promise<_$_googleapis_sheets0.sheets_v4.Schema$BatchGetValuesResponse>;
18
+ getBatchData: (props: GetBatchDataProps) => Promise<import("@googleapis/sheets").sheets_v4.Schema$BatchGetValuesResponse>;
20
19
  }
21
20
  //#endregion
22
21
  export { GoogleCloudSheets };
@@ -1,5 +1,4 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
2
- import * as _$_google_cloud_storage0 from "@google-cloud/storage";
3
2
  import { Storage } from "@google-cloud/storage";
4
3
 
5
4
  //#region src/googleCloud/storage/server/GoogleCloudStorage.d.ts
@@ -15,7 +14,7 @@ declare class GoogleCloudStorage extends BaseNamespace {
15
14
  /**
16
15
  * Copy a local file to Google Cloud Storage.
17
16
  */
18
- copyToCloud: (bucket: string, localFile: string, options?: {}) => Promise<_$_google_cloud_storage0.UploadResponse>;
17
+ copyToCloud: (bucket: string, localFile: string, options?: {}) => Promise<import("@google-cloud/storage").UploadResponse>;
19
18
  /**
20
19
  * Check to see if a file exists but don't get the contents.
21
20
  */
@@ -1,5 +1,4 @@
1
1
  import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
2
- import * as _$_google_cloud_storage0 from "@google-cloud/storage";
3
2
  import { Storage } from "@google-cloud/storage";
4
3
 
5
4
  //#region src/googleCloud/storage/server/GoogleCloudStorage.d.ts
@@ -15,7 +14,7 @@ declare class GoogleCloudStorage extends BaseNamespace {
15
14
  /**
16
15
  * Copy a local file to Google Cloud Storage.
17
16
  */
18
- copyToCloud: (bucket: string, localFile: string, options?: {}) => Promise<_$_google_cloud_storage0.UploadResponse>;
17
+ copyToCloud: (bucket: string, localFile: string, options?: {}) => Promise<import("@google-cloud/storage").UploadResponse>;
19
18
  /**
20
19
  * Check to see if a file exists but don't get the contents.
21
20
  */
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
2
  const require_api_get = require("../../api/get.cjs");
4
3
  let zod_v4 = require("zod/v4");
5
4
  //#region src/googleSearchIncidents/server/googleSearchIncidents.ts
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
2
  const require_api_get = require("../../api/get.cjs");
4
3
  let zod_v4 = require("zod/v4");
5
4
  //#region src/greenDomain/server/greenDomain.ts
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
2
  let react = require("react");
4
3
  //#region src/nextJs/client/useAsyncEffect.ts
5
4
  /**
@@ -1,5 +1,4 @@
1
1
  import { BaseNamespace } from "../../_class/BaseNamespace.cjs";
2
- import * as _$_1password_sdk0 from "@1password/sdk";
3
2
  import { Client } from "@1password/sdk";
4
3
 
5
4
  //#region src/onePassword/server/OnePassword.d.ts
@@ -11,11 +10,11 @@ type OnePasswordConfig = {
11
10
  declare class OnePassword extends BaseNamespace {
12
11
  client: Client;
13
12
  init: (config: OnePasswordConfig) => Promise<this>;
14
- listVaults: () => Promise<_$_1password_sdk0.VaultOverview[]>;
15
- getItem: (url: string) => Promise<_$_1password_sdk0.Item>;
13
+ listVaults: () => Promise<import("@1password/sdk").VaultOverview[]>;
14
+ getItem: (url: string) => Promise<import("@1password/sdk").Item>;
16
15
  getNote: (url: string) => Promise<string | null>;
17
16
  getJsonNote: (url: string) => Promise<any>;
18
- listItems: (vaultId: string) => Promise<_$_1password_sdk0.ItemOverview[]>;
17
+ listItems: (vaultId: string) => Promise<import("@1password/sdk").ItemOverview[]>;
19
18
  }
20
19
  //#endregion
21
20
  export { OnePassword, OnePasswordConfig };
@@ -1,5 +1,4 @@
1
1
  import { BaseNamespace } from "../../_class/BaseNamespace.mjs";
2
- import * as _$_1password_sdk0 from "@1password/sdk";
3
2
  import { Client } from "@1password/sdk";
4
3
 
5
4
  //#region src/onePassword/server/OnePassword.d.ts
@@ -11,11 +10,11 @@ type OnePasswordConfig = {
11
10
  declare class OnePassword extends BaseNamespace {
12
11
  client: Client;
13
12
  init: (config: OnePasswordConfig) => Promise<this>;
14
- listVaults: () => Promise<_$_1password_sdk0.VaultOverview[]>;
15
- getItem: (url: string) => Promise<_$_1password_sdk0.Item>;
13
+ listVaults: () => Promise<import("@1password/sdk").VaultOverview[]>;
14
+ getItem: (url: string) => Promise<import("@1password/sdk").Item>;
16
15
  getNote: (url: string) => Promise<string | null>;
17
16
  getJsonNote: (url: string) => Promise<any>;
18
- listItems: (vaultId: string) => Promise<_$_1password_sdk0.ItemOverview[]>;
17
+ listItems: (vaultId: string) => Promise<import("@1password/sdk").ItemOverview[]>;
19
18
  }
20
19
  //#endregion
21
20
  export { OnePassword, OnePasswordConfig };
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
2
  const require__class_BaseNamespace = require("../../_class/BaseNamespace.cjs");
4
3
  const require_api_post = require("../../api/post.cjs");
5
4
  let luxon = require("luxon");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "3.0.11",
4
+ "version": "3.0.12",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"
@@ -12,10 +12,10 @@
12
12
  "jest": "jest --watch"
13
13
  },
14
14
  "dependencies": {
15
- "fs-extra": "^11.0.0",
16
- "ky": "^2.0.0",
15
+ "fs-extra": "^11.3.5",
16
+ "ky": "^2.0.2",
17
17
  "luxon": "^3.7.2",
18
- "zod": "^4.3.6"
18
+ "zod": "^4.4.3"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "@1password/sdk": "<1.0.0",
@@ -163,59 +163,59 @@
163
163
  },
164
164
  "devDependencies": {
165
165
  "@1password/sdk": "^0.4.0",
166
- "@aws-sdk/client-cloudwatch": "^3.1028.0",
167
- "@aws-sdk/client-cloudwatch-logs": "^3.1028.0",
168
- "@aws-sdk/client-ec2": "^3.1028.0",
169
- "@aws-sdk/client-ecs": "^3.1028.0",
170
- "@aws-sdk/client-glue": "^3.1028.0",
171
- "@aws-sdk/client-lambda": "^3.1028.0",
172
- "@aws-sdk/client-s3": "^3.1028.0",
173
- "@aws-sdk/client-ses": "^3.1028.0",
174
- "@aws-sdk/client-sqs": "^3.1028.0",
175
- "@aws-sdk/client-ssm": "^3.1028.0",
176
- "@aws-sdk/lib-storage": "^3.1028.0",
177
- "@aws-sdk/s3-request-presigner": "^3.1028.0",
178
- "@aws-sdk/types": "^3.973.8",
179
- "@babel/core": "7.29.0",
180
- "@babel/preset-env": "7.29.5",
181
- "@babel/preset-flow": "7.27.1",
182
- "@babel/preset-typescript": "7.28.5",
183
- "@google-cloud/bigquery": "^8.1.1",
166
+ "@aws-sdk/client-cloudwatch": "^3.1057.0",
167
+ "@aws-sdk/client-cloudwatch-logs": "^3.1057.0",
168
+ "@aws-sdk/client-ec2": "^3.1057.0",
169
+ "@aws-sdk/client-ecs": "^3.1057.0",
170
+ "@aws-sdk/client-glue": "^3.1057.0",
171
+ "@aws-sdk/client-lambda": "^3.1057.0",
172
+ "@aws-sdk/client-s3": "^3.1057.0",
173
+ "@aws-sdk/client-ses": "^3.1057.0",
174
+ "@aws-sdk/client-sqs": "^3.1057.0",
175
+ "@aws-sdk/client-ssm": "^3.1057.0",
176
+ "@aws-sdk/lib-storage": "^3.1057.0",
177
+ "@aws-sdk/s3-request-presigner": "^3.1057.0",
178
+ "@aws-sdk/types": "^3.973.9",
179
+ "@babel/core": "7.29.7",
180
+ "@babel/preset-env": "7.29.7",
181
+ "@babel/preset-flow": "7.29.7",
182
+ "@babel/preset-typescript": "7.29.7",
183
+ "@google-cloud/bigquery": "^8.3.1",
184
184
  "@google-cloud/common": "^6.0.0",
185
185
  "@google-cloud/storage": "^7.19.0",
186
- "@googleapis/sheets": "^13.0.1",
186
+ "@googleapis/sheets": "^13.0.2",
187
187
  "@planetscale/database": "^1.20.1",
188
- "@prisma/adapter-mariadb": "^7.7.0",
189
- "@prisma/adapter-pg": "^7.7.0",
190
- "@prisma/adapter-planetscale": "^7.7.0",
191
- "@prisma/client": "^7.7.0",
188
+ "@prisma/adapter-mariadb": "^7.8.0",
189
+ "@prisma/adapter-pg": "^7.8.0",
190
+ "@prisma/adapter-planetscale": "^7.8.0",
191
+ "@prisma/client": "^7.8.0",
192
192
  "@types/babel__core": "^7.20.5",
193
193
  "@types/fs-extra": "^11.0.4",
194
194
  "@types/jest": "30.0.0",
195
195
  "@types/luxon": "3.7.1",
196
- "@types/node": "^24.12.2",
197
- "@types/react": "^19.2.14",
198
- "@vercel/oidc": "^3.4.1",
199
- "@vercel/oidc-aws-credentials-provider": "^3.1.1",
196
+ "@types/node": "^24.12.4",
197
+ "@types/react": "^19.2.15",
198
+ "@vercel/oidc": "^3.5.0",
199
+ "@vercel/oidc-aws-credentials-provider": "^3.1.2",
200
200
  "babel-jest": "30.4.1",
201
- "dotenv": "^17.4.1",
201
+ "dotenv": "^17.4.2",
202
202
  "drizzle-orm": "beta",
203
- "fs-extra": "^11.3.4",
203
+ "fs-extra": "^11.3.5",
204
204
  "gaxios": "^7.1.4",
205
205
  "google-auth-library": "^10.6.2",
206
206
  "googleapis-common": "^8.0.1",
207
- "jest": "^30.3.0",
208
- "mysql2": "^3.22.2",
209
- "next": "^16.2.3",
210
- "pg": "^8.20.0",
211
- "react": "^19.2.5",
207
+ "jest": "^30.4.2",
208
+ "mysql2": "^3.22.4",
209
+ "next": "^16.2.6",
210
+ "pg": "^8.21.0",
211
+ "react": "^19.2.6",
212
212
  "react-intersection-observer": "^10.0.3",
213
- "stream-chain": "^3.6.1",
213
+ "stream-chain": "^3.6.3",
214
214
  "swr": "^2.4.1",
215
215
  "ts-node": "^10.9.2",
216
- "tsdown": "^0.21.7",
217
- "tslib": "^2.8.0",
218
- "typescript": "^6.0.2"
216
+ "tsdown": "^0.22.1",
217
+ "tslib": "^2.8.1",
218
+ "typescript": "^6.0.3"
219
219
  },
220
220
  "exports": {
221
221
  "./_class": {