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

@cosmology/types

Package Overview
Dependencies
Maintainers
0
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cosmology/types - npm Package Compare versions

Comparing version 1.10.2 to 1.10.3

14

main/telescope.js

@@ -16,3 +16,3 @@ "use strict";

// global options (can be overridden through plugins)
env: 'default',
env: "default",
removeUnusedImports: true,

@@ -66,8 +66,8 @@ classesUseArrowFunctions: false,

},
num64: 'bigint',
num64: "bigint",
useDeepPartial: false,
useExact: false,
toJsonUnknown: false,
timestamp: 'date',
duration: 'duration',
timestamp: "date",
duration: "duration",
updatedDuration: false,

@@ -103,3 +103,3 @@ setDefaultEnumToUnrecognized: true,

},
omitEmptyTags: ['omitempty', 'dont_omitempty'],
omitEmptyTags: ["omitempty", "dont_omitempty"],
casingFn: case_1.snake,

@@ -116,3 +116,3 @@ exceptions: {

rpcClients: {
type: 'tendermint',
type: "tendermint",
enabled: true,

@@ -123,3 +123,3 @@ extensions: true,

camelCase: true,
enabledServices: ['Msg', 'Query', 'Service'],
enabledServices: ["Msg", "Query", "Service"],
scopedIsExclusive: true,

@@ -126,0 +126,0 @@ },

{
"name": "@cosmology/types",
"version": "1.10.2",
"version": "1.10.3",
"description": "Telescope types",

@@ -63,3 +63,3 @@ "author": "Dan Lynch <pyramation@gmail.com>",

},
"gitHead": "3d4a33c988d687c82922e3577c6c1f64e82f107f"
"gitHead": "47da72d3d7a71b7b3c9ff236eaabccdfffa717c6"
}

@@ -1,4 +0,4 @@

import { TSBuilderInput } from '@cosmwasm/ts-codegen';
import { AminoExceptions } from './aminos';
import { Operation } from 'fast-json-patch';
import { TSBuilderInput } from "@cosmwasm/ts-codegen";
import { AminoExceptions } from "./aminos";
import { Operation } from "fast-json-patch";
export declare enum TelescopeLogLevel {

@@ -11,4 +11,26 @@ None = 0,

}
interface TelescopeOpts {
env?: 'default' | 'v-next';
/**
* The name mappers for helper functions.
*/
export interface HelperFuncNameMappersRule {
funcBody: "unchanged" | "get" | ((name: string) => string);
creatorPrefix?: string;
hookPrefix?: string;
}
/**
* The name mappers for helper functions.
*/
export interface HelperFuncNameMappers {
/**
* the key is a pattern to apply rules of followed body and prefix. case insensitive
* .e.g: cosmos.gov.v1beta1.*Vote*
*/
[key: string]: {
funcBody: "unchanged" | "get" | ((name: string) => string);
creatorPrefix?: string;
hookPrefix?: string;
};
}
export interface TelescopeOpts {
env?: "default" | "v-next";
useInterchainJs?: boolean;

@@ -82,10 +104,10 @@ removeUnusedImports?: boolean;

useEnhancedDecimal?: boolean;
base64Lib?: '@endo/base64';
base64Lib?: "@endo/base64";
};
num64?: 'long' | 'bigint';
num64?: "long" | "bigint";
useDeepPartial?: boolean;
useExact?: boolean;
toJsonUnknown?: boolean;
timestamp?: 'date' | 'timestamp';
duration?: 'duration' | 'string';
timestamp?: "date" | "timestamp";
duration?: "duration" | "string";
setDefaultEnumToUnrecognized?: boolean;

@@ -135,3 +157,3 @@ autoFixUndefinedEnumDefault?: boolean;

};
omitEmptyTags?: ('omitempty' | 'dont_omitempty')[];
omitEmptyTags?: ("omitempty" | "dont_omitempty")[];
useProtoOptionality?: boolean;

@@ -165,3 +187,3 @@ disableMsgTypes?: boolean;

rpcClients?: {
type?: 'tendermint' | 'grpc-web' | 'grpc-gateway';
type?: "tendermint" | "grpc-web" | "grpc-gateway";
enabled: boolean;

@@ -174,10 +196,10 @@ inline?: boolean;

serviceImplement?: {
[key: 'Msg' | 'Query' | 'Service' | 'ReflectionService' | 'ABCIApplication' | string]: {
[key: "Msg" | "Query" | "Service" | "ReflectionService" | "ABCIApplication" | string]: {
include?: {
patterns?: string[];
};
type: 'Query' | 'Tx' | string;
type: "Query" | "Tx" | string;
};
};
enabledServices?: ('Msg' | 'Query' | 'Service' | 'ReflectionService' | 'ABCIApplication' | string)[];
enabledServices?: ("Msg" | "Query" | "Service" | "ReflectionService" | "ABCIApplication" | string)[];
scoped?: {

@@ -195,3 +217,3 @@ dir: string;

include?: {
serviceTypes?: ('Query' | 'Tx' | string)[];
serviceTypes?: ("Query" | "Tx" | string)[];
patterns?: string[];

@@ -217,27 +239,23 @@ };

include?: {
serviceTypes?: ('Query' | 'Msg' | 'All')[];
serviceTypes?: ("Query" | "Tx")[];
patterns?: string[];
};
nameMappers?: {
All?: {
funcBody: {
[key: string]: "unchanged" | ((name: string) => string);
};
creatorPrefix: string;
hookPrefix: string;
};
Query?: {
funcBody: {
[key: string]: "unchanged" | "get" | ((name: string) => string);
};
creatorPrefix: string;
hookPrefix: string;
};
Msg?: {
funcBody: {
[key: string]: "unchanged" | ((name: string) => string);
};
creatorPrefix: string;
hookPrefix: string;
};
/**
* to map the method name based on the rules of followed body and prefix.
* funcBody default to "unchanged"
*/
All?: HelperFuncNameMappers;
/**
* to map the method name based on the rules of followed body and prefix.
* this will override the All rules if pattern exists.
* funcBody default to "get"
*/
Query?: HelperFuncNameMappers;
/**
* to map the method name based on the rules of followed body and prefix.
* this will override the All rules if pattern exists.
* funcBody default to "unchanged"
*/
Msg?: HelperFuncNameMappers;
};

@@ -244,0 +262,0 @@ };

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