@another-trial/airgram 5.1.1 → 5.1.2

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.
package/Airgram.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AirgramCore, Config, CreateProviderFactoryFn } from '@airgram/core';
1
+ import { AirgramCore, Config, CreateProviderFactoryFn } from '@another-trial/core';
2
2
  import { Provider } from './components';
3
3
  import { BaseJsonClient } from './components/BaseJsonClient';
4
4
  import { TdJsonConfig } from './types';
package/Airgram.js CHANGED
@@ -25,7 +25,7 @@ var __rest = (this && this.__rest) || function (s, e) {
25
25
  };
26
26
  Object.defineProperty(exports, "__esModule", { value: true });
27
27
  exports.Airgram = exports.createProviderFactory = void 0;
28
- var core_1 = require("@airgram/core");
28
+ var core_1 = require("@another-trial/core");
29
29
  var components_1 = require("./components");
30
30
  var BaseJsonClient_1 = require("./components/BaseJsonClient");
31
31
  exports.createProviderFactory = function (tdJsonClient) {
@@ -1,4 +1,4 @@
1
- import { Context, MiddlewareFn } from '@airgram/core';
1
+ import { Context, MiddlewareFn } from '@another-trial/core';
2
2
  declare type AuthConfigOption = string | (() => string) | (() => Promise<string>);
3
3
  interface AuthConfig {
4
4
  code?: AuthConfigOption;
@@ -38,8 +38,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
38
38
  };
39
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
40
  exports.Auth = void 0;
41
- var constants_1 = require("@airgram/constants");
42
- var core_1 = require("@airgram/core");
41
+ var constants_1 = require("@another-trial/constants");
42
+ var core_1 = require("@another-trial/core");
43
43
  var authMethods = [
44
44
  'addProxy',
45
45
  'disableProxy',
@@ -1,4 +1,4 @@
1
- import { TdObject } from '@airgram/core';
1
+ import { TdObject } from '@another-trial/core';
2
2
  import { NativeTdObject, UpdateHandlerFn } from '../types';
3
3
  export declare abstract class BaseJsonClient {
4
4
  readonly command?: string;
@@ -1,4 +1,4 @@
1
- import { TdObject } from '@airgram/core';
1
+ import { TdObject } from '@another-trial/core';
2
2
  import { NativeTdObject, UpdateHandlerFn } from '../types';
3
3
  import { BaseJsonClient } from './BaseJsonClient';
4
4
  export declare class FakeJsonClient extends BaseJsonClient {
@@ -1,4 +1,4 @@
1
- import { ApiRequest, Provider as BaseTdProvider, TdObject } from '@airgram/core';
1
+ import { ApiRequest, Provider as BaseTdProvider, TdObject } from '@another-trial/core';
2
2
  import { TdProviderConfig } from '../types';
3
3
  import { BaseJsonClient } from './BaseJsonClient';
4
4
  export declare class Provider extends BaseTdProvider {
@@ -61,7 +61,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
61
61
  };
62
62
  Object.defineProperty(exports, "__esModule", { value: true });
63
63
  exports.Provider = void 0;
64
- var core_1 = require("@airgram/core");
64
+ var core_1 = require("@another-trial/core");
65
65
  var queryId = 0;
66
66
  var Provider = /** @class */ (function (_super) {
67
67
  __extends(Provider, _super);
@@ -1,4 +1,4 @@
1
- import { TdObject } from '@airgram/core';
1
+ import { TdObject } from '@another-trial/core';
2
2
  import { NativeTdObject, TdJsonConfig, UpdateHandlerFn } from '../types';
3
3
  import { BaseJsonClient } from './BaseJsonClient';
4
4
  export declare class TdJsonClient extends BaseJsonClient {
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Airgram } from './Airgram';
2
2
  import { Auth, TdJsonClient } from './components';
3
3
  import { createDeserializer, createSerializer, prompt } from './utils';
4
- export * from '@airgram/core';
4
+ export * from '@another-trial/core';
5
5
  export { Airgram, Auth, TdJsonClient, createDeserializer, createSerializer, prompt };
package/index.js CHANGED
@@ -20,5 +20,5 @@ var utils_1 = require("./utils");
20
20
  Object.defineProperty(exports, "createDeserializer", { enumerable: true, get: function () { return utils_1.createDeserializer; } });
21
21
  Object.defineProperty(exports, "createSerializer", { enumerable: true, get: function () { return utils_1.createSerializer; } });
22
22
  Object.defineProperty(exports, "prompt", { enumerable: true, get: function () { return utils_1.prompt; } });
23
- __exportStar(require("@airgram/core"), exports);
23
+ __exportStar(require("@another-trial/core"), exports);
24
24
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@another-trial/airgram",
3
- "version": "5.1.1",
3
+ "version": "5.1.2",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { PlainObjectToModelTransformer, TdObject } from '@airgram/core';
1
+ import { PlainObjectToModelTransformer, TdObject } from '@another-trial/core';
2
2
  export interface TdJsonConfig {
3
3
  command?: string;
4
4
  models?: PlainObjectToModelTransformer;
package/utils/json.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { PlainObjectToModelTransformer, TdObject } from '@airgram/core';
1
+ import { PlainObjectToModelTransformer, TdObject } from '@another-trial/core';
2
2
  export declare function camelCase(str: string): string;
3
3
  export declare function snakeCase(str: string): string;
4
4
  export declare function createDeserializer(models?: PlainObjectToModelTransformer): (key: string, value: any) => TdObject;