@ar.io/sdk 3.22.0-alpha.4 → 3.22.0-alpha.6

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/README.md CHANGED
@@ -3119,53 +3119,6 @@ const ario = ARIO.mainnet({ logger: customLogger });
3119
3119
  Logger.default = customLogger;
3120
3120
  ```
3121
3121
 
3122
- #### Winston Logger (Optional)
3123
-
3124
- For advanced logging features, you can optionally install Winston and use the provided Winston logger adapter:
3125
-
3126
- ```bash
3127
- yarn add winston
3128
- ```
3129
-
3130
- ```typescript
3131
- import { ARIO, WinstonLogger } from '@ar.io/sdk';
3132
-
3133
- // Create Winston logger with custom configuration
3134
- const winstonLogger = new WinstonLogger({
3135
- level: 'debug',
3136
- });
3137
-
3138
- // Use with any class that accepts a logger
3139
- const ario = ARIO.mainnet({ logger: winstonLogger });
3140
-
3141
- // or set it as the default logger in the entire SDK
3142
- Logger.default = winstonLogger;
3143
- ```
3144
-
3145
- #### Other Popular Loggers
3146
-
3147
- You can easily integrate other popular logging libraries:
3148
-
3149
- ```typescript
3150
- // Bunyan example
3151
- import { ARIO, ILogger } from '@ar.io/sdk';
3152
- import bunyan from 'bunyan';
3153
-
3154
- const bunyanLogger = bunyan.createLogger({ name: 'ar-io-sdk' });
3155
- const adapter: ILogger = {
3156
- info: (message, ...args) => bunyanLogger.info({ args }, message),
3157
- warn: (message, ...args) => bunyanLogger.warn({ args }, message),
3158
- error: (message, ...args) => bunyanLogger.error({ args }, message),
3159
- debug: (message, ...args) => bunyanLogger.debug({ args }, message),
3160
- setLogLevel: (level) => bunyanLogger.level(level),
3161
- };
3162
-
3163
- const ario = ARIO.mainnet({ logger: adapter });
3164
-
3165
- // or set it as the default logger in the entire SDK
3166
- Logger.default = adapter;
3167
- ```
3168
-
3169
3122
  ## Pagination
3170
3123
 
3171
3124
  #### Overview