@23blocks/block-authentication 1.0.0 → 1.0.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/dist/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  // Block factory and types
2
2
  export { createAuthenticationBlock, authenticationBlockMetadata } from './lib/authentication.block.js';
3
- // Domain types
4
- export { getFullName } from './lib/types/index.js';
5
3
  // Mappers (for custom decoding)
6
4
  export { userMapper, roleMapper, permissionMapper, userAvatarMapper, userProfileMapper, companyMapper, companyDetailMapper, companyBlockMapper, companyKeyMapper, tenantMapper, apiKeyMapper, apiKeyWithSecretMapper } from './lib/mappers/index.js';
7
5
 
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Block factory and types\nexport {\n createAuthenticationBlock,\n type AuthenticationBlock,\n type AuthenticationBlockConfig,\n authenticationBlockMetadata,\n} from './lib/authentication.block.js';\n\n// Domain types\nexport {\n // User types\n type User,\n type Role,\n type Permission,\n type UserAvatar,\n type UserProfile,\n getFullName,\n\n // Company types\n type Company,\n type CompanyDetail,\n type CompanyBlock,\n type CompanyKey,\n type Tenant,\n\n // Auth types\n type SignInRequest,\n type SignInResponse,\n type SignUpRequest,\n type SignUpResponse,\n type PasswordResetRequest,\n type PasswordUpdateRequest,\n type TokenValidationResponse,\n type RefreshTokenRequest,\n type RefreshTokenResponse,\n type OAuthSignInRequest,\n type MagicLinkRequest,\n type MagicLinkVerifyRequest,\n type MfaSetupResponse,\n type MfaVerifyRequest,\n type InvitationRequest,\n type AcceptInvitationRequest,\n type AuthHeaders,\n\n // API Key types\n type ApiKey,\n type ApiKeyWithSecret,\n type CreateApiKeyRequest,\n type UpdateApiKeyRequest,\n type RevokeApiKeyRequest,\n} from './lib/types/index.js';\n\n// Services (for advanced usage)\nexport {\n type AuthService,\n type UsersService,\n type RolesService,\n type ApiKeysService,\n type UpdateUserRequest,\n type UpdateProfileRequest,\n type CreateRoleRequest,\n type UpdateRoleRequest,\n type ApiKeyUsageStats,\n} from './lib/services/index.js';\n\n// Mappers (for custom decoding)\nexport {\n userMapper,\n roleMapper,\n permissionMapper,\n userAvatarMapper,\n userProfileMapper,\n companyMapper,\n companyDetailMapper,\n companyBlockMapper,\n companyKeyMapper,\n tenantMapper,\n apiKeyMapper,\n apiKeyWithSecretMapper,\n} from './lib/mappers/index.js';\n"],"names":["createAuthenticationBlock","authenticationBlockMetadata","getFullName","userMapper","roleMapper","permissionMapper","userAvatarMapper","userProfileMapper","companyMapper","companyDetailMapper","companyBlockMapper","companyKeyMapper","tenantMapper","apiKeyMapper","apiKeyWithSecretMapper"],"rangeMappings":";;;;;","mappings":"AAAA,0BAA0B;AAC1B,SACEA,yBAAyB,EAGzBC,2BAA2B,QACtB,gCAAgC;AAEvC,eAAe;AACf,SAOEC,WAAW,QAkCN,uBAAuB;AAe9B,gCAAgC;AAChC,SACEC,UAAU,EACVC,UAAU,EACVC,gBAAgB,EAChBC,gBAAgB,EAChBC,iBAAiB,EACjBC,aAAa,EACbC,mBAAmB,EACnBC,kBAAkB,EAClBC,gBAAgB,EAChBC,YAAY,EACZC,YAAY,EACZC,sBAAsB,QACjB,yBAAyB"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Block factory and types\nexport {\n createAuthenticationBlock,\n type AuthenticationBlock,\n type AuthenticationBlockConfig,\n authenticationBlockMetadata,\n} from './lib/authentication.block.js';\n\n// Domain types\nexport {\n // User types\n type User,\n type Role,\n type Permission,\n type UserAvatar,\n type UserProfile,\n\n // Company types\n type Company,\n type CompanyDetail,\n type CompanyBlock,\n type CompanyKey,\n type Tenant,\n\n // Auth types\n type SignInRequest,\n type SignInResponse,\n type SignUpRequest,\n type SignUpResponse,\n type PasswordResetRequest,\n type PasswordUpdateRequest,\n type TokenValidationResponse,\n type RefreshTokenRequest,\n type RefreshTokenResponse,\n type OAuthSignInRequest,\n type MagicLinkRequest,\n type MagicLinkVerifyRequest,\n type MfaSetupResponse,\n type MfaVerifyRequest,\n type InvitationRequest,\n type AcceptInvitationRequest,\n type AuthHeaders,\n\n // API Key types\n type ApiKey,\n type ApiKeyWithSecret,\n type CreateApiKeyRequest,\n type UpdateApiKeyRequest,\n type RevokeApiKeyRequest,\n} from './lib/types/index.js';\n\n// Services (for advanced usage)\nexport {\n type AuthService,\n type UsersService,\n type RolesService,\n type ApiKeysService,\n type UpdateUserRequest,\n type UpdateProfileRequest,\n type CreateRoleRequest,\n type UpdateRoleRequest,\n type ApiKeyUsageStats,\n} from './lib/services/index.js';\n\n// Mappers (for custom decoding)\nexport {\n userMapper,\n roleMapper,\n permissionMapper,\n userAvatarMapper,\n userProfileMapper,\n companyMapper,\n companyDetailMapper,\n companyBlockMapper,\n companyKeyMapper,\n tenantMapper,\n apiKeyMapper,\n apiKeyWithSecretMapper,\n} from './lib/mappers/index.js';\n"],"names":["createAuthenticationBlock","authenticationBlockMetadata","userMapper","roleMapper","permissionMapper","userAvatarMapper","userProfileMapper","companyMapper","companyDetailMapper","companyBlockMapper","companyKeyMapper","tenantMapper","apiKeyMapper","apiKeyWithSecretMapper"],"rangeMappings":";;;","mappings":"AAAA,0BAA0B;AAC1B,SACEA,yBAAyB,EAGzBC,2BAA2B,QACtB,gCAAgC;AA0DvC,gCAAgC;AAChC,SACEC,UAAU,EACVC,UAAU,EACVC,gBAAgB,EAChBC,gBAAgB,EAChBC,iBAAiB,EACjBC,aAAa,EACbC,mBAAmB,EACnBC,kBAAkB,EAClBC,gBAAgB,EAChBC,YAAY,EACZC,YAAY,EACZC,sBAAsB,QACjB,yBAAyB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@23blocks/block-authentication",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Authentication block for 23blocks SDK - users, roles, API keys, subscriptions",
5
5
  "license": "MIT",
6
6
  "author": "23blocks <hello@23blocks.com>",