New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

app-store-server-api

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

app-store-server-api - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

10

dist/cjs/Errors.js

@@ -24,4 +24,14 @@ "use strict";

_this.errorCode = errorCode;
_this.isRetryable = AppStoreError.RETRYABLE_ERRORS.includes(errorCode);
return _this;
}
// The following errors indicate that the request can be tried again.
// See https://developer.apple.com/documentation/appstoreserverapi/error_codes
// for a list of all errors.
AppStoreError.RETRYABLE_ERRORS = [
4040002,
4040004,
5000001,
4040006 // OriginalTransactionIdNotFoundRetryableError
];
return AppStoreError;

@@ -28,0 +38,0 @@ }(Error));

@@ -21,4 +21,14 @@ var __extends = (this && this.__extends) || (function () {

_this.errorCode = errorCode;
_this.isRetryable = AppStoreError.RETRYABLE_ERRORS.includes(errorCode);
return _this;
}
// The following errors indicate that the request can be tried again.
// See https://developer.apple.com/documentation/appstoreserverapi/error_codes
// for a list of all errors.
AppStoreError.RETRYABLE_ERRORS = [
4040002,
4040004,
5000001,
4040006 // OriginalTransactionIdNotFoundRetryableError
];
return AppStoreError;

@@ -25,0 +35,0 @@ }(Error));

2

dist/types/Errors.d.ts
export declare class AppStoreError extends Error {
static readonly RETRYABLE_ERRORS: number[];
errorCode: number;
isRetryable: boolean;
constructor(errorCode: number, errorMessage: string);

@@ -4,0 +6,0 @@ }

2

package.json
{
"name": "app-store-server-api",
"version": "0.6.0",
"version": "0.7.0",
"description": "A client for the App Store Server API",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc