Skip to content

Commit

Permalink
feat(version): bump
Browse files Browse the repository at this point in the history
  • Loading branch information
MathRobin committed Nov 21, 2023
1 parent 219efc9 commit abf74ca
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,3 +600,10 @@ export function isBandwidthLimitExceeded(response: unknown): boolean;
export function isNotExtended(response: unknown): boolean;

export function isNetworkAuthenticationRequired(response: unknown): boolean;

export class HEADERS {
corsBasic: {
'Access-Control-Allow-Origin': '*';
'Access-Control-Allow-Credentials': true;
};
}
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -767,3 +767,10 @@ export const isNotExtended = (response) => {
export const isNetworkAuthenticationRequired = (response) => {
return response.statusCode === 511;
};

export const HEADERS = {
corsBasic: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Credentials': true,
},
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lambda-returns",
"version": "3.0.4",
"version": "3.0.5",
"main": "index.js",
"module": "index.js",
"types": "./index.d.ts",
Expand Down

0 comments on commit abf74ca

Please sign in to comment.